Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#1159 Prevents possible toString override #1162

Merged
merged 2 commits into from
Jan 10, 2024
Merged

#1159 Prevents possible toString override #1162

merged 2 commits into from
Jan 10, 2024

Conversation

jdaigneau5
Copy link
Collaborator

Closes Issue #1159

Summary

Added bail() to break out of validation chain on first error for user creation and updates.

Important Changes

org.controller/index.js

  • added bail() to PUT/POST user endpoints

@jdaigneau5 jdaigneau5 linked an issue Jan 5, 2024 that may be closed by this pull request
Copy link
Collaborator

@david-rocca david-rocca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@david-rocca david-rocca merged commit 6332611 into dev Jan 10, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

500 Internal Server Error for createUser with toString
2 participants