Skip to content

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