Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Update updateUser code to reject empty emails (#1210)
* fix: Update updateUser code to reject empty emails This fixes an issue where the updateUser call would allow null email addresses, then update the email to null and then raise an exception, leaving the db in a state where no user could be resolved. * fix: remove username/email requirement in user.ts Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
- Loading branch information
Showing
4 changed files
with
29 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5a82d9b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: