CSR-710 Cleanup
This commit is contained in:
parent
d4fd61c74f
commit
4ed0512b20
2 changed files with 1 additions and 10 deletions
|
|
@ -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: {} })
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@
|
|||
cmsWidgetName="AlertVinLookupQuestion"
|
||||
alertClass=""
|
||||
/>
|
||||
E: {{ selectedValues }}
|
||||
<buttonQuestion
|
||||
cmsWidgetName="VinLookupMethod"
|
||||
:answers="answersFromCms"
|
||||
|
|
|
|||
Loading…
Reference in a new issue