mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
Merge pull request #4334 from overleaf/jel-check-institution-users
Change check_institution_users.js output GitOrigin-RevId: c331d5312dc807fd5118f4ce78737bde04a82c66
This commit is contained in:
@@ -12,16 +12,10 @@ waitForDb()
|
||||
process.exit(1)
|
||||
})
|
||||
|
||||
function main() {
|
||||
InstitutionsManager.checkInstitutionUsers(
|
||||
institutionId,
|
||||
function (error, usersSummary) {
|
||||
if (error) {
|
||||
console.log(error)
|
||||
} else {
|
||||
console.log(usersSummary)
|
||||
}
|
||||
process.exit()
|
||||
}
|
||||
async function main() {
|
||||
const usersSummary = await InstitutionsManager.promises.checkInstitutionUsers(
|
||||
institutionId
|
||||
)
|
||||
console.log(usersSummary)
|
||||
process.exit()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user