Abissa

Results 3 comments of Abissa

> > I think i understand what is happening here.. You See the functions in our ErrorController.js `handleCastErrorDB()` OR `handleDuplicateFieldsDB(`) are thrown by Mongoose or MongoDB ([Official Doc Link for...

> const messageController = require('@service').message; const { v4: uuidv4 } = require('uuid'); const _User = require('@model').User; const bcrypt = require('bcryptjs'); > > class User { async register(req, res) { let...