From 38acedf5bb4300ef493b72b4ceaeafa263361a99 Mon Sep 17 00:00:00 2001 From: Baris Usakli Date: Thu, 15 Mar 2018 12:18:54 -0400 Subject: [PATCH] lint --- src/database/mongo/list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/database/mongo/list.js b/src/database/mongo/list.js index fb800eb696..06be2808a0 100644 --- a/src/database/mongo/list.js +++ b/src/database/mongo/list.js @@ -104,7 +104,7 @@ module.exports = function (db, module) { module.listLength = function (key, callback) { db.collection('objects').aggregate([ { $match: { _key: key } }, - { $project: { count: { $size: "$array" } } }, + { $project: { count: { $size: '$array' } } }, ], function (err, result) { callback(err, Array.isArray(result) && result.length && result[0].count); });