v2.0.0-robsoncombr-fix-missing-autoCreate

This commit is contained in:
Robson Martins 2024-08-31 23:32:15 -03:00 committed by GitHub
parent f0840e07fe
commit 265cba9e3e
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);