CSR-416 Cleanup

This commit is contained in:
Katie 2022-05-10 14:35:44 -04:00
parent e834f2e1ae
commit 7c7e04728f
3 changed files with 1 additions and 9 deletions

View file

@ -7,13 +7,7 @@ import { GaCategories, GaActions, GaLabels } from "@/constants/analytics";
export default {
callHttpClient({ method, endpoint, payload, logApiCall = true }) {
return new Promise((resolve, reject) => {
let cfDistroUrl = applicationConfig.CONSUMER_CF_DISTRO;
if (endpoint.includes("order")) {
cfDistroUrl = "https://localhost:44346";
}
// const cfDistroUrl = applicationConfig.CONSUMER_CF_DISTRO;
const cfDistroUrl = applicationConfig.CONSUMER_CF_DISTRO;
const payloadAndAnalyticsData = Object.assign({}, payload, { AppName: "FixMyGlass" });
axios({ method: method, url: cfDistroUrl + endpoint, data: payloadAndAnalyticsData, crossDomain: true, responseType: {} })

View file

@ -14,7 +14,6 @@ import baseMixin from "@/mixins/base-mixin.js";
the user has an existing order and they come back in from the Safelite.com CTA.
*/
export async function getPageToRouteExistingOrderTo(toRoute = {}, existingHeritageOrder = false) {
console.log("B")
// If the user is coming in via the Safelite.Com CTA
if (toRoute.query[queryStrings.START_TYPE] === 'fmg') {
// If they have an existing order, return 'heritage' for the page name.

View file

@ -176,7 +176,6 @@ export default {
return store.getters.order.serviceLocation.zipCode;
},
async forwardButtonAction() {
console.log("AL forwardButtonAction")
this.resetWarningsAndErrors();
// Lookup VIN(s) with the provided address