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
696b0f4708
commit
5202060812
@ -125,8 +125,7 @@ export class TypebotService {
|
|||||||
|
|
||||||
const response = await this.createNewSession(instance, {
|
const response = await this.createNewSession(instance, {
|
||||||
url: url,
|
url: url,
|
||||||
// linha incluida por Francis new5:
|
// linha incluida por Francis
|
||||||
enabled: true,
|
|
||||||
enabled_typebot: enabled_typebot,
|
enabled_typebot: enabled_typebot,
|
||||||
typebot: typebot,
|
typebot: typebot,
|
||||||
remoteJid: remoteJid,
|
remoteJid: remoteJid,
|
||||||
@ -202,8 +201,8 @@ const id = Math.floor(Math.random() * 10000000000).toString();
|
|||||||
typebot: {
|
typebot: {
|
||||||
...instance,
|
...instance,
|
||||||
typebot: {
|
typebot: {
|
||||||
// linha incluida por Francis neu 4:
|
// linha incluida por Francis:
|
||||||
// enabled_typebot: enabled_typebot,
|
enabled_typebot: enabled_typebot,
|
||||||
url: url,
|
url: url,
|
||||||
remoteJid: remoteJid,
|
remoteJid: remoteJid,
|
||||||
typebot: typebot,
|
typebot: typebot,
|
||||||
@ -282,8 +281,9 @@ const id = Math.floor(Math.random() * 10000000000).toString();
|
|||||||
});
|
});
|
||||||
|
|
||||||
const typebotData = {
|
const typebotData = {
|
||||||
// linha incluida por Francis new4:
|
// linha incluida por Francis new 4:
|
||||||
// enabled: data.enabled_typebot,
|
// enabled: data.enabled_typebot,
|
||||||
|
enabled: true,
|
||||||
url: data.url,
|
url: data.url,
|
||||||
typebot: data.typebot,
|
typebot: data.typebot,
|
||||||
expire: data.expire,
|
expire: data.expire,
|
||||||
|
Loading…
Reference in New Issue
Block a user