Skip to content

Commit 26ff0b6

Browse files
committed
Revert "Update current inbox if exists"
This reverts commit f44ab0f.
1 parent f44ab0f commit 26ff0b6

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/api/integrations/chatwoot/services/chatwoot.service.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -216,19 +216,6 @@ export class ChatwootService {
216216
}
217217

218218
inboxId = inbox.id;
219-
const data = {
220-
type: 'api',
221-
webhook_url: webhookUrl,
222-
};
223-
await client.inboxes.update({
224-
id: inboxId,
225-
accountId: this.provider.account_id,
226-
data: {
227-
enable_auto_assignment: false,
228-
name: inboxName,
229-
channel: data as any,
230-
},
231-
});
232219
}
233220

234221
this.logger.verbose('find contact in chatwoot and create if not exists');

0 commit comments

Comments
 (0)