mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-04 01:29:21 +00:00
challenges: fix TypeError: undefined is not a function
This commit is contained in:
parent
949cd97b91
commit
122822e088
1 changed files with 1 additions and 1 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue