mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
fix trailing space
This commit is contained in:
@@ -231,7 +231,7 @@ schema.methods.removeTask = async function challengeRemoveTask (task) {
|
|||||||
}, {multi: true}).exec();
|
}, {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) {
|
schema.methods.unlinkTasks = async function challengeUnlinkTasks (user, keep) {
|
||||||
let challengeId = this._id;
|
let challengeId = this._id;
|
||||||
let findQuery = {
|
let findQuery = {
|
||||||
|
|||||||
Reference in New Issue
Block a user