challenges: fix TypeError: undefined is not a function

This commit is contained in:
Tyler Renelle 2013-12-16 23:00:03 -07:00
parent 949cd97b91
commit 122822e088

View file

@ -267,7 +267,7 @@ var UserSchema = new Schema({
});
UserSchema.methods.deleteTask = function(tid) {
this.ops.deleteTask({params:{id:tid}}); // TODO remove this whole method, since it just proxies, and change all references to this method
this.ops.deleteTask({params:{id:tid}},function(){}); // TODO remove this whole method, since it just proxies, and change all references to this method
}
UserSchema.methods.toJSON = function() {