mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
Merge pull request #3942 from overleaf/prettier-trailing-comma
Set Prettier's "trailingComma" setting to "es5" GitOrigin-RevId: 9f14150511929a855b27467ad17be6ab262fe5d5
This commit is contained in:
@@ -44,7 +44,7 @@ async function checkCert(ukamfDB, providerId) {
|
||||
const { body } = await V1Api.request({
|
||||
json: true,
|
||||
qs: { university_id: providerId },
|
||||
uri: '/api/v1/sharelatex/university_saml'
|
||||
uri: '/api/v1/sharelatex/university_saml',
|
||||
})
|
||||
// show notice if sso not currently enabled
|
||||
if (body.sso_enabled === true) {
|
||||
@@ -93,6 +93,6 @@ async function checkCert(ukamfDB, providerId) {
|
||||
|
||||
async function getActiveProviderIds() {
|
||||
return db.users.distinct('samlIdentifiers.providerId', {
|
||||
'samlIdentifiers.externalUserId': { $exists: true }
|
||||
'samlIdentifiers.externalUserId': { $exists: true },
|
||||
})
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ class UKAMFEntity {
|
||||
'ds:X509Data',
|
||||
0,
|
||||
'ds:X509Certificate',
|
||||
0
|
||||
0,
|
||||
])
|
||||
if (!cert) {
|
||||
throw new Error('no cert')
|
||||
@@ -42,7 +42,7 @@ class UKAMFEntity {
|
||||
return {
|
||||
cert,
|
||||
entityId,
|
||||
entryPoint
|
||||
entryPoint,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user