diff --git a/frontend_vue/src/components/tokens/types.ts b/frontend_vue/src/components/tokens/types.ts index 22be1d556..7cc1cc624 100644 --- a/frontend_vue/src/components/tokens/types.ts +++ b/frontend_vue/src/components/tokens/types.ts @@ -249,6 +249,7 @@ export type HitsType = { merchant?: string | null; mail?: string | null; referer?: string | null; + referrer?: string | null; location?: string | GeolocationPosition | CoordsType | null; }; diff --git a/frontend_vue/src/utils/incidentAlertService.ts b/frontend_vue/src/utils/incidentAlertService.ts index 27376faa0..6ea3e59cd 100644 --- a/frontend_vue/src/utils/incidentAlertService.ts +++ b/frontend_vue/src/utils/incidentAlertService.ts @@ -166,7 +166,7 @@ export function buildIncidentDetails( amount: hitAlert.amount || null, merchant: hitAlert.merchant || null, mail: hitAlert.mail || null, - referer: hitAlert.referer || null, + referer: hitAlert.referer || hitAlert.referrer || null, location: (hitAlert.location && locationValue(hitAlert.token_type, hitAlert.location)) ||