Skip to content

Commit

Permalink
update email from kc user to entered email
Browse files Browse the repository at this point in the history
  • Loading branch information
TaylorFries committed Sep 26, 2024
1 parent c17f14c commit 1da6719
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion express-api/src/services/users/usersServices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ const normalizeKeycloakUser = (kcUser: SSOUser): NormalizedKeycloakUser => {
* @param agencyId The ID of the agency the user belongs to
* @param position The position of the user
* @param note Additional notes about the user
* @param the users email
* @returns The inserted user
*/
const addKeycloakUserOnHold = async (
Expand All @@ -73,7 +74,7 @@ const addKeycloakUserOnHold = async (
Id: id,
FirstName: normalizedKc.first_name,
LastName: normalizedKc.last_name,
Email: normalizedKc.email,
Email: email,
DisplayName: normalizedKc.display_name,
KeycloakUserId: normalizedKc.guid,
Username: normalizedKc.username,
Expand Down

0 comments on commit 1da6719

Please sign in to comment.