Merge pull request #20 from robsoncombr/v2.0.0-robsoncombr-fix-missing-autoCreate

v2.0.0-robsoncombr-fix-missing-autoCreate
This commit is contained in:
Judson Junior 2024-09-01 16:42:26 -03:00 committed by GitHub
commit 2cb68b38a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -220,7 +220,7 @@ export class InstanceController {
daysLimitImportMessages: instanceData.chatwootDaysLimitImportMessages ?? 60,
organization: instanceData.chatwootOrganization,
logo: instanceData.chatwootLogo,
autoCreate: true,
autoCreate: instanceData.chatwootAutoCreate !== false,
});
} catch (error) {
this.logger.log(error);