From 4ed0512b20a53f20201590ce037e1551f2780b1e Mon Sep 17 00:00:00 2001 From: Katie Date: Mon, 11 Jul 2022 15:23:50 -0400 Subject: [PATCH] CSR-710 Cleanup --- src/global-methods.js | 10 +--------- src/layouts/estimate/estimate.vue | 1 - 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/src/global-methods.js b/src/global-methods.js index d5a2eddf9..5e4d04ea3 100644 --- a/src/global-methods.js +++ b/src/global-methods.js @@ -7,15 +7,7 @@ import { GaCategories, GaActions, GaLabels } from "@/constants/analytics"; export default { callHttpClient({ method, endpoint, payload, logApiCall = true }) { return new Promise((resolve, reject) => { - // const cfDistroUrl = applicationConfig.CONSUMER_CF_DISTRO; - - let cfDistroUrl = applicationConfig.CONSUMER_CF_DISTRO; - - if (endpoint.includes("parts")) - cfDistroUrl = "https://localhost:44335"; - else if (endpoint.includes("order")) - cfDistroUrl = "https://localhost:44346"; - + const cfDistroUrl = applicationConfig.CONSUMER_CF_DISTRO; const payloadAndAnalyticsData = Object.assign({}, payload, { AppName: "FixMyGlass" }); axios({ method: method, url: cfDistroUrl + endpoint, data: payloadAndAnalyticsData, crossDomain: true, responseType: {} }) diff --git a/src/layouts/estimate/estimate.vue b/src/layouts/estimate/estimate.vue index 02451f2a5..a57062593 100644 --- a/src/layouts/estimate/estimate.vue +++ b/src/layouts/estimate/estimate.vue @@ -15,7 +15,6 @@ cmsWidgetName="AlertVinLookupQuestion" alertClass="" /> - E: {{ selectedValues }}