mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-19 20:19:15 +00:00
fix(bot): 🎨 callback
This commit is contained in:
@@ -123,8 +123,9 @@ class CoreClass {
|
|||||||
|
|
||||||
// 📄 [options: callback]: Si se tiene un callback se ejecuta
|
// 📄 [options: callback]: Si se tiene un callback se ejecuta
|
||||||
if (!fallBackFlag) {
|
if (!fallBackFlag) {
|
||||||
|
if (refToContinue?.options?.capture) cbEveryCtx(refToContinue?.ref)
|
||||||
for (const ite of this.flowClass.find(body)) {
|
for (const ite of this.flowClass.find(body)) {
|
||||||
cbEveryCtx(ite?.ref)
|
if (!ite?.options?.capture) cbEveryCtx(ite?.ref)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user