From 90a141d5475a407034fefce6c399939e9f6aa168 Mon Sep 17 00:00:00 2001 From: Jhonarias13 Date: Fri, 3 Mar 2023 21:38:28 -0500 Subject: [PATCH] fix save fallback msg in mongodb --- packages/bot/core/core.class.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/bot/core/core.class.js b/packages/bot/core/core.class.js index 9b329ccc9..e9485a780 100644 --- a/packages/bot/core/core.class.js +++ b/packages/bot/core/core.class.js @@ -163,6 +163,7 @@ class CoreClass { const fallBack = async (next = false, message = null) => { QueuePrincipal.queue = [] if (next) return continueFlow() + delete prevMsg._id; return this.sendProviderAndSave(from, { ...prevMsg, answer: