From ad6b064063cc37f37b2e3fdb23464fe50bcf53f3 Mon Sep 17 00:00:00 2001 From: Clement Michaud Date: Sun, 21 Oct 2018 15:25:09 +0200 Subject: [PATCH] Fix typing issue when using Dockerfile.dev. --- server/src/lib/storage/mongo/MongoCollection.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); }