mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-25 00:28:31 -05:00
Merge branch 'master' into production
This commit is contained in:
commit
3b536eb673
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ findNearestBetterSessionID = (levelOriginalID, levelMajorVersion, sessionID, ses
|
||||||
|
|
||||||
retrieveAllOpponentSessionIDs = (sessionID, cb) ->
|
retrieveAllOpponentSessionIDs = (sessionID, cb) ->
|
||||||
query = LevelSession.findOne({"_id":sessionID})
|
query = LevelSession.findOne({"_id":sessionID})
|
||||||
.select('matches.opponents.sessionID.submitDate')
|
.select('matches.opponents.sessionID matches.date submitDate')
|
||||||
.lean()
|
.lean()
|
||||||
query.exec (err, session) ->
|
query.exec (err, session) ->
|
||||||
if err? then return cb err, null
|
if err? then return cb err, null
|
||||||
|
|
Loading…
Reference in a new issue