fix: Fixed problem that did not generate qrcode with the chatwoot_conversation_pending option enabled

This commit is contained in:
Davidson Gomes
2023-12-12 15:46:10 -03:00
parent 1568554a1c
commit c296bf4178
2 changed files with 1 additions and 4 deletions

View File

@@ -249,10 +249,6 @@ export class ChatwootService {
inbox_id: inboxId.toString(),
};
if (this.provider.conversation_pending) {
data['status'] = 'pending';
}
const conversation = await client.conversations.create({
accountId: this.provider.account_id,
data,