That's not how Mongoose select strings work, now, is it?

This commit is contained in:
Nick Winter 2014-03-11 21:48:11 -07:00
parent 218c542a5a
commit d44e1aad6a

View file

@ -241,7 +241,7 @@ findNearestBetterSessionID = (levelOriginalID, levelMajorVersion, sessionID, ses
retrieveAllOpponentSessionIDs = (sessionID, cb) ->
query = LevelSession.findOne({"_id":sessionID})
.select('matches.opponents.sessionID.submitDate')
.select('matches.opponents.sessionID matches.date submitDate')
.lean()
query.exec (err, session) ->
if err? then return cb err, null