We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1e6d434 + fd15ae5 commit d14505dCopy full SHA for d14505d
1 file changed
src/whatsapp/controllers/chatwoot.controller.ts
@@ -64,7 +64,7 @@ export class ChatwootController {
64
65
const urlServer = this.configService.get<HttpServer>('SERVER').URL;
66
67
- if (Object.keys(result).length === 0) {
+ if (Object.keys(result || {}).length === 0) {
68
return {
69
enabled: false,
70
url: '',
0 commit comments