Skip to content

Fix schema validation typo and remove undefined controller imports - #951

Open
saurabhhhcodes wants to merge 1 commit into
Anjaliavv51:mainfrom
saurabhhhcodes:fix/Retro-batch-6
Open

Fix schema validation typo and remove undefined controller imports#951
saurabhhhcodes wants to merge 1 commit into
Anjaliavv51:mainfrom
saurabhhhcodes:fix/Retro-batch-6

Conversation

@saurabhhhcodes

Copy link
Copy Markdown

Fixed: 1) userSchema.js - changed 'require' to 'required' for name field validation (Mongoose typo). 2) authRoute.js - removed imports of forgotPassword and resetPassword that are not exported from authController, preventing potential runtime errors.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Great job, @saurabhhhcodes! 🎉 Thank you for submitting your pull request. Your contribution is valuable and we appreciate your efforts to improve our project.We will promptly review your changes and offer feedback. Keep up the excellent work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant