We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edebd80 commit 4d0c538Copy full SHA for 4d0c538
1 file changed
src/api/integrations/chatbot/chatwoot/services/chatwoot.service.ts
@@ -693,7 +693,7 @@ export class ChatwootService {
693
})) as any;
694
this.logger.verbose(`Contact conversations: ${JSON.stringify(contactConversations)}`);
695
696
- if (!contactConversations || !contactConversations.payload || contactConversations.payload.length === 0) {
+ if (!contactConversations || !contactConversations.payload) {
697
this.logger.error('No conversations found or payload is undefined');
698
return null;
699
}
0 commit comments