From 082fd6b22b03d037ca64c7b6cbb21db1feb0c164 Mon Sep 17 00:00:00 2001 From: Ben White Date: Thu, 28 Mar 2024 15:18:22 +0100 Subject: [PATCH] Tidy --- plugin-server/src/worker/ingestion/hooks.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugin-server/src/worker/ingestion/hooks.ts b/plugin-server/src/worker/ingestion/hooks.ts index 4d420ac1d3ed62..15f1ec69bda22d 100644 --- a/plugin-server/src/worker/ingestion/hooks.ts +++ b/plugin-server/src/worker/ingestion/hooks.ts @@ -107,9 +107,11 @@ function getProjectUrl(team: Team, siteUrl: string): string { function getPersonLink(team: Team, siteUrl: string, event: PostIngestionEvent): string { return `${getProjectUrl(team, siteUrl)}/person/${encodeURIComponent(event.distinctId)}` } + function getActionLink(team: Team, siteUrl: string, action: Action): string { return `${getProjectUrl(team, siteUrl)}/action/${action.id}` } + function getEventLink(team: Team, siteUrl: string, event: PostIngestionEvent): string { return `${getProjectUrl(team, siteUrl)}/events/${encodeURIComponent(event.eventUuid)}/${encodeURIComponent( event.timestamp