diff --git a/src/constants/header-keys.js b/src/constants/header-keys.js index 2f7598244..d9b3578c4 100644 --- a/src/constants/header-keys.js +++ b/src/constants/header-keys.js @@ -5,4 +5,5 @@ export const headerKeys = { SESSION_SEQUENCE_NUMBER: "X-Session-Sequence-Number", TRANSACTION_ID: "X-Transaction-Id", EON: "X-Enterprise-Order-Number", + LOG_ENABLED: "log-enabled" }; diff --git a/src/global-methods.js b/src/global-methods.js index 77255e99d..ba6cec1ec 100644 --- a/src/global-methods.js +++ b/src/global-methods.js @@ -70,6 +70,7 @@ export default { [headerKeys.REFERRAL_SEQUENCE_NUMBER]: order?.referralSequenceNumber, [headerKeys.TRANSACTION_ID]: crypto.randomUUID(), [headerKeys.EON]: order?.eon, + [headerKeys.LOG_ENABLED]: store.getters.applicationUser?.loggingOption ?? false, }; axios({