diff --git a/website/server/models/challenge.js b/website/server/models/challenge.js index f4b03a0922..f391e472c3 100644 --- a/website/server/models/challenge.js +++ b/website/server/models/challenge.js @@ -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(),