fix failing tests

This commit is contained in:
Matteo Pagliazzi
2016-03-11 09:51:59 +01:00
parent 78c1ee2053
commit 29b6e958c6
4 changed files with 4 additions and 4 deletions

View File

@@ -70,7 +70,7 @@ TaskSchema.statics.sanitizeChecklist = function sanitizeChecklist (checklistObj)
};
// Sanitize reminder objects (disallowing id)
TaskSchema.statics.sanitizeChecklist = function sanitizeChecklist (reminderObj) {
TaskSchema.statics.sanitizeReminder = function sanitizeReminder (reminderObj) {
delete reminderObj.id;
return reminderObj;
};