Skip to content

Commit f91b4cb

Browse files
committed
some changes
1 parent a668acc commit f91b4cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CRUD API's/app/models/model.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const noteSchema=mongoose.Schema({
1515
require: true
1616
}
1717
},{
18-
timestamp: true
18+
timestamps: true
1919
});
2020

2121
module.exports=mongoose.model('Note',noteSchema);

0 commit comments

Comments
 (0)