We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a668acc commit f91b4cbCopy full SHA for f91b4cb
CRUD API's/app/models/model.js
@@ -15,7 +15,7 @@ const noteSchema=mongoose.Schema({
15
require: true
16
}
17
},{
18
- timestamp: true
+ timestamps: true
19
});
20
21
module.exports=mongoose.model('Note',noteSchema);
0 commit comments