Update typebot.service.ts

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

View File

@ -118,11 +118,10 @@ export class TypebotService {
prefilledVariables[variable.name] = variable.value;
});
// linha incluida por Francis:
if (enabled_typebot === true || enabled_typebot !== true && enabled_typebot !== false ) {
if (enabled_typebot !== true && enabled_typebot !== false ) {
if (enabled_typebot !== false ) {
let enabled_typebot = true;
}
const response = await this.createNewSession(instance, {
url: url,