From 33f21bac8d2fbcd0f6161ee0c88a3ade009a6845 Mon Sep 17 00:00:00 2001 From: Ryan Pope Date: Mon, 23 Sep 2024 14:03:15 -0400 Subject: [PATCH] dedupe tags --- packages/chat-core-zendesk/src/infra/ChatCoreZendeskImpl.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/chat-core-zendesk/src/infra/ChatCoreZendeskImpl.ts b/packages/chat-core-zendesk/src/infra/ChatCoreZendeskImpl.ts index c27bf7f..9a52750 100644 --- a/packages/chat-core-zendesk/src/infra/ChatCoreZendeskImpl.ts +++ b/packages/chat-core-zendesk/src/infra/ChatCoreZendeskImpl.ts @@ -55,6 +55,7 @@ export class ChatCoreZendeskImpl { } this.integrationId = config.integrationId; this.tags = [...this.tags, ...(config.ticketTags ?? [])]; + this.tags = [...new Set(this.tags)]; } /**