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.
2 parents 5336168 + 0ee243f commit dc19c7fCopy full SHA for dc19c7f
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