Use promises version of getUsersByHostname

GitOrigin-RevId: c7b8be79436075a817e5f1429dbe41d824133141
This commit is contained in:
Andrew Rumble
2025-10-09 11:37:54 +01:00
committed by Copybot
parent b875d71fd2
commit bbfeb5bec3

View File

@@ -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,