Skip to content

Commit

Permalink
Fix email update in database
Browse files Browse the repository at this point in the history
  • Loading branch information
sthuray committed Oct 10, 2024
1 parent 06ff34f commit 2f421fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/typescript/rest/userRoutes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ userRouter.post("/", createUserDtoValidator, async (req, res) => {
lastName: req.body.lastName,
email: req.body.email,
role: req.body.role ?? Role.VOLUNTEER,
status: UserStatus.INVITED, // TODO: make this default to inactive once user registration flow is done
status: UserStatus.INVITED,
skillLevel: req.body.skillLevel ?? null,
canSeeAllLogs: req.body.canSeeAllLogs ?? null,
canAssignUsersToTasks: req.body.canSeeAllUsers ?? null,
Expand Down

0 comments on commit 2f421fe

Please sign in to comment.