From 5bbd43a0f67c18e680b4090a15827954484ad71e Mon Sep 17 00:00:00 2001 From: Atul Kumar <82999363+Atul-me@users.noreply.github.com> Date: Sat, 9 Mar 2024 13:03:33 +0530 Subject: [PATCH] Update userModel.js --- backend/models/userModel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/models/userModel.js b/backend/models/userModel.js index dc772a3..e29704c 100644 --- a/backend/models/userModel.js +++ b/backend/models/userModel.js @@ -18,7 +18,7 @@ const userSchema = mongoose.Schema( default: false, }, }, - { timestaps: true } + { timestamps: true } ); userSchema.methods.matchPassword = async function (enteredPassword) {