Skip to content

Node.js based forum software built for the modern web

lint

Baris Usakli38acedf5bb43
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);
});