mode.instanceMethod is not a function

后端 未结 0 404
無奈伤痛
無奈伤痛 2021-01-05 13:44

I defined an instance method in the model like below in my User model.

// Instance Method to Verify the password
UserSchema.methods.verify =          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题