fix trailing space

This commit is contained in:
Matteo Pagliazzi
2016-05-25 14:58:38 +02:00
parent 7297a6fa76
commit 3f1343fdfb
2 changed files with 2 additions and 2 deletions

View File

@@ -231,7 +231,7 @@ schema.methods.removeTask = async function challengeRemoveTask (task) {
}, {multi: true}).exec();
};
// Unlink challenges tasks (and the challenge itself) from user
// Unlink challenges tasks (and the challenge itself) from user. TODO rename to 'leave'
schema.methods.unlinkTasks = async function challengeUnlinkTasks (user, keep) {
let challengeId = this._id;
let findQuery = {