From c1a6e6015da515731f76ea2046c3cdd17140c6e8 Mon Sep 17 00:00:00 2001 From: simonmilord Date: Mon, 11 Dec 2023 14:58:23 -0500 Subject: [PATCH] removed triggeredBy from the metadata of createArticle event --- src/insight/insightClient.spec.ts | 1 - src/insight/insightEvents.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/src/insight/insightClient.spec.ts b/src/insight/insightClient.spec.ts index 91d23fa..9a412b6 100644 --- a/src/insight/insightClient.spec.ts +++ b/src/insight/insightClient.spec.ts @@ -1393,7 +1393,6 @@ describe('InsightClient', () => { it('should send proper payload for #createArticle', async () => { const exampleCreateArticleMetadata = { articleType: 'Knowledge__kav', - triggeredBy: 'CreateArticleButton', }; const expectedMetadata = { ...exampleCreateArticleMetadata, diff --git a/src/insight/insightEvents.ts b/src/insight/insightEvents.ts index 31d93f9..eebf133 100644 --- a/src/insight/insightEvents.ts +++ b/src/insight/insightEvents.ts @@ -72,7 +72,6 @@ export interface UserActionsPageViewMetadata { export interface CreateArticleMetadata { articleType: string; - triggeredBy: string; } export interface InsightInterfaceChangeMetadata extends InterfaceChangeMetadata, CaseMetadata {}