Skip to content

Commit

Permalink
Error tracking -> getGeoDetails: pass headers
Browse files Browse the repository at this point in the history
  • Loading branch information
Blaumaus committed Aug 30, 2024
1 parent d46cc2b commit a02e003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/selfhosted/src/analytics/analytics.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1483,7 +1483,7 @@ export class AnalyticsController {

await this.analyticsService.validate(errorDTO, origin, 'error', ip)

const { city, region, country } = getGeoDetails(ip, errorDTO.tz)
const { city, region, country } = getGeoDetails(ip, errorDTO.tz, headers)

const ua = UAParser(userAgent)
const dv = ua.device.type || 'desktop'
Expand Down

0 comments on commit a02e003

Please sign in to comment.