diff --git a/server/src/lib/storage/mongo/MongoCollection.ts b/server/src/lib/storage/mongo/MongoCollection.ts index 3d6a65e9..f23f75ba 100644 --- a/server/src/lib/storage/mongo/MongoCollection.ts +++ b/server/src/lib/storage/mongo/MongoCollection.ts @@ -43,7 +43,7 @@ export class MongoCollection implements ICollection { .then((collection) => collection.insert(document)); } - count(query: any): Bluebird { + count(query: any): Bluebird { return this.collection() .then((collection) => collection.count(query)); }