Skip to content

Commit

Permalink
revert a thing
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusandra committed Sep 4, 2024
1 parent 7a3a4bd commit 00a9af6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion plugin-server/src/cdp/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ export type HogFunctionInvocationGlobals = {
properties: Record<string, any>
timestamp: string
url: string
elements_chain?: string
}
person?: {
uuid: string
Expand Down
2 changes: 1 addition & 1 deletion plugin-server/src/cdp/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export function convertToHogFunctionFilterGlobal(globals: HogFunctionInvocationG
}
}

const elementsChain = globals.event.elements_chain || globals.event.properties['$elements_chain']
const elementsChain = globals.event.properties['$elements_chain']
const response = {
event: globals.event.name,
elements_chain: elementsChain,
Expand Down

0 comments on commit 00a9af6

Please sign in to comment.