We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92f8951 commit 0ee243fCopy full SHA for 0ee243f
src/api/integrations/chatwoot/services/chatwoot.service.ts
@@ -628,7 +628,7 @@ export class ChatwootService {
628
id: contactId,
629
})) as any;
630
631
- if (contactConversations) {
+ if (contactConversations?.payload?.length) {
632
let conversation: any;
633
if (this.provider.reopen_conversation) {
634
conversation = contactConversations.payload.find((conversation) => conversation.inbox_id == filterInbox.id);
0 commit comments