From 613439d17594f6180c2adb6167a7730b7ef7521e Mon Sep 17 00:00:00 2001 From: Michael Schmatz Date: Sat, 15 Mar 2014 09:40:58 -0700 Subject: [PATCH] Changed response for count API --- server/queues/scoring.coffee | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/server/queues/scoring.coffee b/server/queues/scoring.coffee index ee09a914f..274fce9e5 100644 --- a/server/queues/scoring.coffee +++ b/server/queues/scoring.coffee @@ -28,10 +28,7 @@ connectToScoringQueue = -> module.exports.messagesInQueueCount = (req, res) -> scoringTaskQueue.totalMessagesInQueue (err, count) -> if err? then return errors.serverError res, "There was an issue finding the Mongoose count:#{err}" - response = - point: - number: count - timestamp: Date.now() + response = String(count) res.send(response) res.end()