Lint
This commit is contained in:
parent
2c4601440f
commit
b8d22d6ef1
|
@ -638,7 +638,7 @@ class MongoIntegration implements IntegrationBase {
|
||||||
let response = []
|
let response = []
|
||||||
if (query.extra?.actionType === "pipeline") {
|
if (query.extra?.actionType === "pipeline") {
|
||||||
for await (const doc of collection.aggregate(
|
for await (const doc of collection.aggregate(
|
||||||
query.steps.map(({key, value}) => {
|
query.steps.map(({ key, value }) => {
|
||||||
let temp: any = {}
|
let temp: any = {}
|
||||||
temp[key] = JSON.parse(value.value)
|
temp[key] = JSON.parse(value.value)
|
||||||
return this.createObjectIds(temp)
|
return this.createObjectIds(temp)
|
||||||
|
|
Loading…
Reference in New Issue