mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 17:45:40 -05:00
Removed a log.
This commit is contained in:
parent
67eb701d58
commit
c40123f656
1 changed files with 0 additions and 1 deletions
|
@ -130,7 +130,6 @@ findRandomSession = (queryParams, callback) ->
|
|||
queryParams.randomSimulationIndex = $lte: Math.random()
|
||||
selection = 'team totalScore transpiledCode submittedCodeLanguage teamSpells levelID creatorName creator submitDate'
|
||||
sort = randomSimulationIndex: -1
|
||||
console.log 'trying to find one with qparams', queryParams
|
||||
LevelSession.findOne(queryParams).sort(sort).select(selection).lean().exec (err, session) ->
|
||||
return callback err if err
|
||||
return callback null, session if session
|
||||
|
|
Loading…
Reference in a new issue