Skip to content

Commit

Permalink
Merge pull request #248 from gabrielpastori1/fix-chatwoot-find
Browse files Browse the repository at this point in the history
Fix chatwoot find
  • Loading branch information
DavidsonGomes authored Dec 11, 2023
2 parents 1e6d434 + fd15ae5 commit d14505d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/whatsapp/controllers/chatwoot.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: '',
Expand Down

0 comments on commit d14505d

Please sign in to comment.