diff --git a/src/store/index.js b/src/store/index.js index f74b80cd..6252de32 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -344,7 +344,7 @@ export const useMainStore = defineStore({ getDamageOptions(carId) { return globalMethods.callHttpClient({ - methods: endpoints.GetDamageOptions.method, + method: endpoints.GetDamageOptions.method, endpoint: `${endpoints.GetDamageOptions.url}/${carId}`, payload: {} }); @@ -799,7 +799,7 @@ export const useMainStore = defineStore({ setVehicle() { return globalMethods .callHttpClient({ - methods: endpoints.GetVehicle.method, + method: endpoints.GetVehicle.method, endpoint: `${endpoints.GetVehicle.url}/${this.order.vehicle.year}/${this.order.vehicle.make}/${this.order.vehicle.model}/${this.order.vehicle.style}`, payload: {} }) @@ -1535,7 +1535,7 @@ export const useMainStore = defineStore({ async validateZip({ zip }) { return await globalMethods.callHttpClient({ - methods: endpoints.ValidateZip.method, + method: endpoints.ValidateZip.method, endpoint: `${endpoints.ValidateZip.url}/${zip}` }); },