Skip to content

Commit

Permalink
fix(cli): ⚡ refactor fallback in child flow
Browse files Browse the repository at this point in the history
  • Loading branch information
Leifer Jesús Mendez committed Jan 28, 2023
1 parent e22780d commit 8da4b20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/bot/core/core.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})
}

Expand Down

0 comments on commit 8da4b20

Please # to comment.