Skip to content

Commit

Permalink
Merge pull request #21 from smritidoneria/main
Browse files Browse the repository at this point in the history
fixes
  • Loading branch information
smritidoneria authored Mar 14, 2024
2 parents e161c51 + a0635ab commit ee3eee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/usertoken.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ const userTokenSchema = new Schema(
);

export const UserToken =
mongoose.model.UserToken ||
mongoose.models.UserToken ||
mongoose.model('UserToken', userTokenSchema);

0 comments on commit ee3eee9

Please sign in to comment.