fix(cli): refactor fallback in child flow

This commit is contained in:
Leifer Jesús Mendez
2023-01-28 16:06:12 +01:00
parent e22780d3fa
commit 8da4b204b4

View File

@@ -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,
}) })
} }