Update typebot.service.ts

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

View File

@ -120,6 +120,10 @@ export class TypebotService {
// linha incluida por Francis:
if (enabled_typebot === true || enabled_typebot !== true && enabled_typebot !== false ) {
if (enabled_typebot !== true && enabled_typebot !== false ) {
enabled_typebot = true;
}
const response = await this.createNewSession(instance, {
url: url,
// linha incluida por Francis: