working child flow

This commit is contained in:
Leifer Mendez
2022-11-23 20:56:17 +01:00
parent 368bf29e63
commit f6d70b4f7d
4 changed files with 6 additions and 4 deletions

View File

@@ -77,7 +77,7 @@ class CoreClass {
if (prevMsg?.options?.nested?.length) {
const nestedRef = prevMsg.options.nested
const flowStandalone = nestedRef.map((f) => ({
...this.flowClass.findBySerialize(f),
...nestedRef.find((r) => r.refSerialize === f.refSerialize),
}))
msgToSend = this.flowClass.find(body, false, flowStandalone) || []