From d44e1aad6a3e2e32fbcae1bb1491110c0831daa5 Mon Sep 17 00:00:00 2001 From: Nick Winter Date: Tue, 11 Mar 2014 21:48:11 -0700 Subject: [PATCH] That's not how Mongoose select strings work, now, is it? --- server/queues/scoring.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/queues/scoring.coffee b/server/queues/scoring.coffee index fce8813f1..cc4abe0a9 100644 --- a/server/queues/scoring.coffee +++ b/server/queues/scoring.coffee @@ -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