CASH-845 update getMobileTimeSlots call in store to take optional zipCode param
This commit is contained in:
parent
f7351ca5be
commit
b6178ead44
1 changed files with 2 additions and 2 deletions
|
|
@ -2101,7 +2101,7 @@ export const actions = {
|
|||
return globalMethods.callHttpClient(options);
|
||||
},
|
||||
|
||||
getMobileTimeSlots(context, { payload: { startDate, endDate }, pageNameToLog }) {
|
||||
getMobileTimeSlots(context, { payload: { startDate, endDate, zipCode }, pageNameToLog }) {
|
||||
const order = context.state.order;
|
||||
const vehicle = context.state.order.vehicle;
|
||||
const payment = context.state.order.payment;
|
||||
|
|
@ -2139,7 +2139,7 @@ export const actions = {
|
|||
style: vehicle.style,
|
||||
vin: vehicle.vin ?? "",
|
||||
},
|
||||
zipCode: order.serviceLocation.zipCode,
|
||||
zipCode: zipCode ?? order.serviceLocation.zipCode,
|
||||
};
|
||||
|
||||
let hasCalled = timeSlotCallFlags.mobile;
|
||||
|
|
|
|||
Loading…
Reference in a new issue