mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 01:55:38 -05:00
Fixed queue
This commit is contained in:
parent
dbbf9ce8b3
commit
4d617d44f6
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ class MongoQueue extends events.EventEmitter
|
|||
receiptHandle: @_generateRandomReceiptHandle()
|
||||
scheduledVisibilityTime: @_constructDefaultVisibilityTimeoutDate()
|
||||
|
||||
@Message.findOneAndUpdate conditions, update, options, (err, data) =>
|
||||
@Message.findOneAndUpdate conditions, update, (err, data) =>
|
||||
return @emit 'error',err,data if err?
|
||||
|
||||
originalData = data
|
||||
|
|
Loading…
Reference in a new issue