Merge pull request #248 from gabrielpastori1/fix-chatwoot-find

Fix chatwoot find
This commit is contained in:
Davidson Gomes 2023-12-11 12:32:19 -03:00 committed by GitHub
commit d14505d59a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,7 @@ export class ChatwootController {
const urlServer = this.configService.get<HttpServer>('SERVER').URL;
if (Object.keys(result).length === 0) {
if (Object.keys(result || {}).length === 0) {
return {
enabled: false,
url: '',