Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
silesky committed Sep 27, 2023
1 parent b81a603 commit 6107fbc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/browser/src/plugins/env-enrichment/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@ class EnvironmentEnrichmentPlugin implements Plugin {
const event = ctx.event
const evtCtx = (event.context ??= {})

// Note: page should never be undefined here, since it is set as part of event creation.
const search = evtCtx.page!.search || ''

const query =
typeof search === 'object' ? objectToQueryString(search) : search

Expand Down

0 comments on commit 6107fbc

Please sign in to comment.