lint
This commit is contained in:
parent
98871064a9
commit
cd5930450e
|
@ -571,7 +571,9 @@ class MongoIntegration implements IntegrationBase {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
const stages: Array<any> = query.json as Array<any>
|
const stages: Array<any> = query.json as Array<any>
|
||||||
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)
|
response.push(doc)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue