Merge pull request #382 from Safelite/BRM-fix-duplicate-entry

Remove duplicate entry.
This commit is contained in:
bmauger 2022-05-02 17:03:29 -04:00 committed by GitHub
commit dfa4af357b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -141,11 +141,8 @@ export const mutations = {
updateRegistrationZipCode(state, registrationZipCode){ updateRegistrationZipCode(state, registrationZipCode){
state.order.vehicle.registration.zipCode = registrationZipCode; state.order.vehicle.registration.zipCode = registrationZipCode;
}, },
updateRegistrationAddress(state, registrationAddress){
state.order.vehicle.registration.address = registrationAddress;
},
updateRegistrationAddress(state, reistrationAddress){ updateRegistrationAddress(state, reistrationAddress){
state.order.vehicle.registration.address = reistrationAddress; state.order.vehicle.registration.address = registrationAddress;
}, },
updateServiceLocationZip(state, serviceLocationZip){ updateServiceLocationZip(state, serviceLocationZip){
state.order.serviceLocation.zip = serviceLocationZip; state.order.serviceLocation.zip = serviceLocationZip;
@ -306,13 +303,13 @@ export const actions = {
method: endpoints.LookupVinByAddress.method, method: endpoints.LookupVinByAddress.method,
endpoint: endpoints.LookupVinByAddress.url, endpoint: endpoints.LookupVinByAddress.url,
payload: { payload: {
licenseLastName: licenseLastName, licenseLastName: licenseLastName,
licenseStreetAddress: licenseStreetAddress, licenseStreetAddress: licenseStreetAddress,
licenseZip: licenseZip, licenseZip: licenseZip,
licenseState: licenseState licenseState: licenseState
}, },
}); });
}, },
getVehicleMakes(context, { year }) { getVehicleMakes(context, { year }) {
return globalMethods.callHttpClient({ return globalMethods.callHttpClient({
method: endpoints.GetVehicleMakes.method, method: endpoints.GetVehicleMakes.method,
@ -469,7 +466,7 @@ export const actions = {
payload: {} payload: {}
}); });
}, },
// Parts API Actions // Parts API Actions
getPartsOrQuestions(context, { carId, glassArray, zipCode, vin = '' }) { getPartsOrQuestions(context, { carId, glassArray, zipCode, vin = '' }) {