Refactoring.

This commit is contained in:
Jeremy-Z 2026-03-18 12:27:03 -04:00
parent 6a80a9b1b0
commit 597685a02b
3 changed files with 5 additions and 4 deletions

View file

@ -182,11 +182,11 @@ const endpoints = Object.freeze({
method: 'POST'
},
LogDigitalConsumer: {
url: "/analytics/api/v1/analytics/digitalconsumer-log",
url: `${ANALYTICS_BASE_URL}/digitalconsumer-log`,
method: "POST",
},
LogIssSessionData: {
url: "/analytics/api/v1/analytics/digitalconsumer-session-logging",
url: `${ANALYTICS_BASE_URL}/digitalconsumer-session-logging`,
method: "POST",
},
GetExperimentsByUser: {

View file

@ -1,4 +1,5 @@
import partTypeStrings from '@/constants/part-type-strings';
import { deepClone } from '@/helpers/object-helper';
const recalPartTypes = [partTypeStrings.RECALIBRATION, partTypeStrings.ADAS_RECALIBRATION];

View file

@ -190,7 +190,7 @@ export default {
// TODO: Find equivalent ISS methods for these:
const hasSubmittedOrderAtConfirmationPage =
hasSubmittedOrder && currentPageName?.toLowerCase() === issPageValues.ORDER_CONFIRMATION;;
hasSubmittedOrder && currentPageName?.toLowerCase() === issPageValues.ORDER_CONFIRMATION;
var payload = {
deviceId: deviceId,
@ -286,7 +286,7 @@ export default {
sessionData.currentPage = currentPageName;
sessionData.sid = getSessionIdValue();
sessionData.deviceId = getDeviceIdValue();
sessionData.fmgSessionId = applicationUser?.savedSessionId;
sessionData.issSessionId = applicationUser?.savedSessionId;
sessionData.skey = getSessionKeyValue().toString();
sessionData.userId = getUserIdValue();
sessionData.carId = order?.vehicle?.carId;