Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benjackwhite committed Feb 5, 2024
1 parent e8f09d0 commit aab3793
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/posthog-core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -919,8 +919,6 @@ export class PostHog {
logger.info('send', data)
const jsonData = JSON.stringify(data)

// TODO: This doesn't really work 🤔 as the other endpoints call this with "options.endpoint"
// which now needs to be a complete override
const url = options._url ?? this.requestRouter.endpointFor('capture_events', this.analyticsDefaultEndpoint)

const has_unique_traits = options !== __NOOPTIONS
Expand Down

0 comments on commit aab3793

Please sign in to comment.