1
0
Fork 0
mirror of synced 2024-07-15 03:05:57 +12:00
This commit is contained in:
Adria Navarro 2024-02-07 00:01:09 +01:00
parent 2c4601440f
commit b8d22d6ef1

View file

@ -638,7 +638,7 @@ class MongoIntegration implements IntegrationBase {
let response = []
if (query.extra?.actionType === "pipeline") {
for await (const doc of collection.aggregate(
query.steps.map(({key, value}) => {
query.steps.map(({ key, value }) => {
let temp: any = {}
temp[key] = JSON.parse(value.value)
return this.createObjectIds(temp)