CSR-2201
Updating session sequence number
This commit is contained in:
parent
3dbdab6275
commit
0f9697690f
1 changed files with 2 additions and 1 deletions
|
|
@ -6,6 +6,7 @@ import store from "@/store";
|
||||||
|
|
||||||
import { applicationConfig } from "@/constants/application-config.js";
|
import { applicationConfig } from "@/constants/application-config.js";
|
||||||
import { GaCategories, GaActions, GaLabels } from "@/constants/analytics";
|
import { GaCategories, GaActions, GaLabels } from "@/constants/analytics";
|
||||||
|
import { getSessionKeyValue } from "@/helpers/heritage-integration/cookie-helper";
|
||||||
import { headerKeys } from "@/constants/header-keys";
|
import { headerKeys } from "@/constants/header-keys";
|
||||||
import axiosResponseInterceptorMessages from "@/constants/axios-response-interceptor-messages.js";
|
import axiosResponseInterceptorMessages from "@/constants/axios-response-interceptor-messages.js";
|
||||||
|
|
||||||
|
|
@ -65,7 +66,7 @@ export default {
|
||||||
const headers = {
|
const headers = {
|
||||||
[headerKeys.EXPERIMENT]: JSON.stringify(store.getters.experimentSettings),
|
[headerKeys.EXPERIMENT]: JSON.stringify(store.getters.experimentSettings),
|
||||||
[headerKeys.APPLICATION_NAME]: applicationConfig.APPLICATION_NAME,
|
[headerKeys.APPLICATION_NAME]: applicationConfig.APPLICATION_NAME,
|
||||||
[headerKeys.SESSION_SEQUENCE_NUMBER]: store.getters.applicationUser?.savedSessionId,
|
[headerKeys.SESSION_SEQUENCE_NUMBER]: getSessionKeyValue(),
|
||||||
[headerKeys.REFERRAL_SEQUENCE_NUMBER]: order?.referralSequenceNumber,
|
[headerKeys.REFERRAL_SEQUENCE_NUMBER]: order?.referralSequenceNumber,
|
||||||
[headerKeys.TRANSACTION_ID]: crypto.randomUUID(),
|
[headerKeys.TRANSACTION_ID]: crypto.randomUUID(),
|
||||||
[headerKeys.EON]: order?.eon,
|
[headerKeys.EON]: order?.eon,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue