mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-19 20:19:15 +00:00
fix(cli): ⚡ refactor fallback in child flow
This commit is contained in:
@@ -143,8 +143,8 @@ class CoreClass {
|
|||||||
QueuePrincipal.queue = []
|
QueuePrincipal.queue = []
|
||||||
if (next) return continueFlow()
|
if (next) return continueFlow()
|
||||||
return this.sendProviderAndSave(from, {
|
return this.sendProviderAndSave(from, {
|
||||||
...refToContinue,
|
...prevMsg,
|
||||||
answer: message ?? refToContinue.answer,
|
answer: message ?? prevMsg.answer,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user