Merge pull request #3232 from Safelite/rlsmerge/2026.06.18-to-develop

Rlsmerge/2026.06.18 to develop
This commit is contained in:
CarlNation 2026-06-17 03:54:02 -04:00 committed by GitHub
commit c5cfa29148
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View file

@ -7,4 +7,5 @@ export const headerKeys = {
EON: "X-Enterprise-Order-Number", EON: "X-Enterprise-Order-Number",
LOG_ENABLED: "log-enabled", LOG_ENABLED: "log-enabled",
PAGE_NAME_TO_LOG: "X-Page-Name-To-Log", PAGE_NAME_TO_LOG: "X-Page-Name-To-Log",
DEVICE_ID: "X-Device-Id",
}; };

View file

@ -10,6 +10,7 @@ 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";
import { endpoints } from "@/constants/endpoints"; import { endpoints } from "@/constants/endpoints";
import { getDeviceIdValue } from "@/helpers/heritage-integration/cookie-helper";
// Add a response interceptor for global axios error handing. // Add a response interceptor for global axios error handing.
axios.interceptors.response.use( axios.interceptors.response.use(
@ -73,6 +74,7 @@ export default {
[headerKeys.TRANSACTION_ID]: crypto.randomUUID(), [headerKeys.TRANSACTION_ID]: crypto.randomUUID(),
[headerKeys.EON]: order?.eon, [headerKeys.EON]: order?.eon,
[headerKeys.LOG_ENABLED]: store.getters.applicationUser?.loggingOption ?? false, [headerKeys.LOG_ENABLED]: store.getters.applicationUser?.loggingOption ?? false,
[headerKeys.DEVICE_ID]: getDeviceIdValue(),
}; };
axios({ axios({