Skip to content

Commit

Permalink
Fix firstName to firstNames typo in updater user sync
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksTeresh committed May 30, 2024
1 parent b947b15 commit 8eea469
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/updater/users.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ interface SisuUser {
id: string
preferredLanguageUrn: string
eduPersonPrincipalName: string
firstName: string
firstNames: string
lastName: string
primaryEmail: string
}
Expand All @@ -27,7 +27,7 @@ const usersHandler = async (users: SisuUser[]) => {
username: user.eduPersonPrincipalName
? user.eduPersonPrincipalName.split('@')[0]
: user.id,
firstName: user.firstName,
firstName: user.firstNames,
lastName: user.lastName,
email: user.primaryEmail,
}))
Expand Down

0 comments on commit 8eea469

Please sign in to comment.