Update typebot.service.ts

This commit is contained in:
Francis Breit 2023-10-01 15:21:44 -03:00 committed by GitHub
parent c219bc6ec6
commit f7a943f9e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,7 +118,7 @@ export class TypebotService {
prefilledVariables[variable.name] = variable.value;
});
// linha incluida por Francis:
if (enabled_typebot === true) {
if (enabled_typebot === true || enabled_typebot !== true && enabled_typebot !== false ) {
const response = await this.createNewSession(instance, {
url: url,
@ -191,6 +191,23 @@ const id = Math.floor(Math.random() * 10000000000).toString();
}
// ate aqui
return {