From cd5930450ef3db660c5eb919e695e6c7c83dd701 Mon Sep 17 00:00:00 2001 From: Mel O'Hagan Date: Wed, 12 Oct 2022 18:55:22 +0100 Subject: [PATCH] lint --- packages/server/src/integrations/mongodb.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/server/src/integrations/mongodb.ts b/packages/server/src/integrations/mongodb.ts index 70419be58b..f602b78093 100644 --- a/packages/server/src/integrations/mongodb.ts +++ b/packages/server/src/integrations/mongodb.ts @@ -571,7 +571,9 @@ class MongoIntegration implements IntegrationBase { } } else { const stages: Array = query.json as Array - for await (const doc of collection.aggregate(stages ? this.createObjectIds(stages) : [])) { + for await (const doc of collection.aggregate( + stages ? this.createObjectIds(stages) : [] + )) { response.push(doc) } }