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