Skip to content

Commit

Permalink
Merge pull request #448 from coveo/SFINT-5328
Browse files Browse the repository at this point in the history
feat(SFINT-5328): Removed triggeredBy from the metadata of createArticle event
  • Loading branch information
SimonMilord authored Dec 13, 2023
2 parents cbf91d7 + c1a6e60 commit c0c1d18
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/insight/insightClient.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1393,7 +1393,6 @@ describe('InsightClient', () => {
it('should send proper payload for #createArticle', async () => {
const exampleCreateArticleMetadata = {
articleType: 'Knowledge__kav',
triggeredBy: 'CreateArticleButton',
};
const expectedMetadata = {
...exampleCreateArticleMetadata,
Expand Down
1 change: 0 additions & 1 deletion src/insight/insightEvents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ export interface UserActionsPageViewMetadata {

export interface CreateArticleMetadata {
articleType: string;
triggeredBy: string;
}

export interface InsightInterfaceChangeMetadata extends InterfaceChangeMetadata, CaseMetadata {}
Expand Down

0 comments on commit c0c1d18

Please sign in to comment.