-
Notifications
You must be signed in to change notification settings - Fork 1
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
User data interface and other changes #123
Conversation
…i files, as well as modifications to the openapi file of the game history service.
validateRequiredFields(req, ['id', 'points', 'username', 'questions', 'avgtime']); | ||
|
||
// Find user by username in the database | ||
let user = await User.findOne({ username: req.body.username }); |
Check failure
Code scanning / SonarCloud
NoSQL operations should not be vulnerable to injection attacks High
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.
Creo que solo ví ese detalle, el resto está para mergear
Corrected target
Quality Gate failedFailed conditions See analysis details on SonarCloud Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
Changes in the api gateway, changes in the model of the user stored data and added new interface to check user data.