Refactoring.
This commit is contained in:
parent
6a80a9b1b0
commit
597685a02b
3 changed files with 5 additions and 4 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import partTypeStrings from '@/constants/part-type-strings';
|
||||
import { deepClone } from '@/helpers/object-helper';
|
||||
|
||||
const recalPartTypes = [partTypeStrings.RECALIBRATION, partTypeStrings.ADAS_RECALIBRATION];
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue