mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-19 03:59:17 +00:00
working child flow
This commit is contained in:
@@ -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) || []
|
||||
|
||||
Reference in New Issue
Block a user