Correct a typo in website/server/models/challenge.js (#13146)

This commit is contained in:
Felix Yan
2021-04-02 14:00:52 +08:00
committed by GitHub
parent ff3e44c232
commit de87fc9910

View File

@@ -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(),