diff options
-rw-r--r-- | models/user.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/user.js b/models/user.js index 32b0540..3751aae 100644 --- a/models/user.js +++ b/models/user.js @@ -7,6 +7,6 @@ const userSchema = new mongoose.Schema({ password: {type: String, required: true}, }); -const userModel = new mongoose.Model('user', userSchema); +const userModel = new mongoose.model('user', userSchema); module.exports = userModel; |