mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-26 10:28:38 -06:00
Update typebot.service.ts
This commit is contained in:
parent
c219bc6ec6
commit
f7a943f9e3
@ -118,7 +118,7 @@ export class TypebotService {
|
|||||||
prefilledVariables[variable.name] = variable.value;
|
prefilledVariables[variable.name] = variable.value;
|
||||||
});
|
});
|
||||||
// linha incluida por Francis:
|
// linha incluida por Francis:
|
||||||
if (enabled_typebot === true) {
|
if (enabled_typebot === true || enabled_typebot !== true && enabled_typebot !== false ) {
|
||||||
|
|
||||||
const response = await this.createNewSession(instance, {
|
const response = await this.createNewSession(instance, {
|
||||||
url: url,
|
url: url,
|
||||||
@ -191,6 +191,23 @@ const id = Math.floor(Math.random() * 10000000000).toString();
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// ate aqui
|
// ate aqui
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
Loading…
Reference in New Issue
Block a user