Skip to content

Commit

Permalink
Tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
benjackwhite committed Mar 28, 2024
1 parent 4dfcfe4 commit 082fd6b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugin-server/src/worker/ingestion/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 082fd6b

Please sign in to comment.