mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-27 02:51:57 +02:00
Use promises version of getUsersByHostname
GitOrigin-RevId: c7b8be79436075a817e5f1429dbe41d824133141
This commit is contained in:
@@ -227,7 +227,10 @@ async function getInstitutionUsersByHostname(hostname) {
|
||||
samlIdentifiers: 1,
|
||||
}
|
||||
|
||||
const users = await UserGetter.getUsersByHostname(hostname, projection)
|
||||
const users = await UserGetter.promises.getUsersByHostname(
|
||||
hostname,
|
||||
projection
|
||||
)
|
||||
users.forEach(user => {
|
||||
user.emails = decorateFullEmails(
|
||||
user.email,
|
||||
|
||||
Reference in New Issue
Block a user