mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-05-20 20:58:42 +00:00
Correct a typo in website/server/models/challenge.js (#13146)
This commit is contained in:
parent
ff3e44c232
commit
de87fc9910
1 changed files with 1 additions and 1 deletions
|
|
@ -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 = [
|
||||
// And it's tasks
|
||||
Tasks.Task.remove({ 'challenge.id': challenge._id, userId: { $exists: false } }).exec(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue