mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Merge pull request #3470 from overleaf/eslint
Upgrade and configure ESLint GitOrigin-RevId: ad5aeaf85e72c847a125ff3a9db99a12855e38aa
This commit is contained in:
@@ -69,9 +69,7 @@ async function checkCert(ukamfDB, providerId) {
|
||||
// check expiration on configured certificate
|
||||
const certificate = Certificate.fromPEM(
|
||||
Buffer.from(
|
||||
`-----BEGIN CERTIFICATE-----\n${
|
||||
body.sso_cert
|
||||
}\n-----END CERTIFICATE-----`,
|
||||
`-----BEGIN CERTIFICATE-----\n${body.sso_cert}\n-----END CERTIFICATE-----`,
|
||||
'utf8'
|
||||
)
|
||||
)
|
||||
|
||||
@@ -36,9 +36,7 @@ async function main() {
|
||||
|
||||
const certificate = Certificate.fromPEM(
|
||||
Buffer.from(
|
||||
`-----BEGIN CERTIFICATE-----\n${
|
||||
samlConfig.cert
|
||||
}\n-----END CERTIFICATE-----`,
|
||||
`-----BEGIN CERTIFICATE-----\n${samlConfig.cert}\n-----END CERTIFICATE-----`,
|
||||
'utf8'
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user