Skip to content

Commit 1a4b037

Browse files
more day8 typos
1 parent ee50163 commit 1a4b037

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎day8/mongo_mongoose_and_the_rest.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ exports.update = function(req, res) {
129129
})
130130
};
131131

132-
exports.destroy function(req, res) {
132+
exports.destroy = function(req, res) {
133133
res.setHeader('Content-Type', 'application/json');
134134
Note.remove({'_id' : req.params.id}, function(err) {
135135
if(err) {

0 commit comments

Comments
 (0)