mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-20 20:49:15 +00:00
fix: 🎨 update
This commit is contained in:
@@ -95,9 +95,12 @@ class CoreClass {
|
|||||||
// 📄 Se encarga de revisar si el contexto del mensaje tiene callback y ejecutarlo
|
// 📄 Se encarga de revisar si el contexto del mensaje tiene callback y ejecutarlo
|
||||||
const cbEveryCtx = (inRef) => {
|
const cbEveryCtx = (inRef) => {
|
||||||
const indexFlow = this.flowClass.findIndexByRef(inRef)
|
const indexFlow = this.flowClass.findIndexByRef(inRef)
|
||||||
this.flowClass.allCallbacks[indexFlow].callback(messageInComming, {
|
this.flowClass.allCallbacks[indexFlow].callback(
|
||||||
fallBack,
|
messageCtxInComming,
|
||||||
})
|
{
|
||||||
|
fallBack,
|
||||||
|
}
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
// 📄 [options: callback]: Si se tiene un callback se ejecuta
|
// 📄 [options: callback]: Si se tiene un callback se ejecuta
|
||||||
|
|||||||
Reference in New Issue
Block a user