|
@@ -227,7 +227,10 @@ async function getInstitutionUsersByHostname(hostname) {
|
|
|
samlIdentifiers: 1,
|
|
samlIdentifiers: 1,
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- const users = await UserGetter.getUsersByHostname(hostname, projection)
|
|
|
|
|
|
|
+ const users = await UserGetter.promises.getUsersByHostname(
|
|
|
|
|
+ hostname,
|
|
|
|
|
+ projection
|
|
|
|
|
+ )
|
|
|
users.forEach(user => {
|
|
users.forEach(user => {
|
|
|
user.emails = decorateFullEmails(
|
|
user.emails = decorateFullEmails(
|
|
|
user.email,
|
|
user.email,
|