From a0635abcaaf65a7345d75232e18f7917685cea0f Mon Sep 17 00:00:00 2001 From: Smriti Doneria Date: Thu, 14 Mar 2024 22:11:28 +0530 Subject: [PATCH] fixes --- models/usertoken.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/usertoken.js b/models/usertoken.js index 90b2a6c..a80fe2e 100644 --- a/models/usertoken.js +++ b/models/usertoken.js @@ -22,5 +22,5 @@ const userTokenSchema = new Schema( ); export const UserToken = - mongoose.model.UserToken || + mongoose.models.UserToken || mongoose.model('UserToken', userTokenSchema);