From 7d6708c01bbdc5043a7e6ed56fe15a9618115b91 Mon Sep 17 00:00:00 2001 From: Leifer Mendez Date: Mon, 19 Dec 2022 13:36:18 +0100 Subject: [PATCH] fix: :art: update --- packages/bot/core/core.class.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/bot/core/core.class.js b/packages/bot/core/core.class.js index 394b704..e545a55 100644 --- a/packages/bot/core/core.class.js +++ b/packages/bot/core/core.class.js @@ -95,9 +95,12 @@ class CoreClass { // 📄 Se encarga de revisar si el contexto del mensaje tiene callback y ejecutarlo const cbEveryCtx = (inRef) => { const indexFlow = this.flowClass.findIndexByRef(inRef) - this.flowClass.allCallbacks[indexFlow].callback(messageInComming, { - fallBack, - }) + this.flowClass.allCallbacks[indexFlow].callback( + messageCtxInComming, + { + fallBack, + } + ) } // 📄 [options: callback]: Si se tiene un callback se ejecuta