mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-13 12:47:28 +01:00
Correct a typo in website/server/models/challenge.js (#13146)
This commit is contained in:
@@ -403,7 +403,7 @@ schema.methods.closeChal = async function closeChal (broken = {}) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Run some operations in the background withouth blocking the thread
|
// Run some operations in the background without blocking the thread
|
||||||
const backgroundTasks = [
|
const backgroundTasks = [
|
||||||
// And it's tasks
|
// And it's tasks
|
||||||
Tasks.Task.remove({ 'challenge.id': challenge._id, userId: { $exists: false } }).exec(),
|
Tasks.Task.remove({ 'challenge.id': challenge._id, userId: { $exists: false } }).exec(),
|
||||||
|
|||||||
Reference in New Issue
Block a user