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

Fixed mongoose v8.1 breaking errors #778

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Nancy-Hunter
Copy link

fixed breaking errors from mongoose v8.9.6 update. replaced callback functions with promises/async await for findOne and findOnebyID in config/passport.js, controllers/auth.js, models/User.js. Also updated database.js connection string to be compliant with updated mongoose version.

…ns with promises/async await for findOne in config/passport.js, controllers/auth.js, models/User.js. Also updated database.js connection string to be compliant with updated mongoose version.
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.

1 participant