Update index.js
This commit is contained in:
parent
863edfdeb9
commit
deebd15e1a
1 changed files with 4 additions and 1 deletions
|
|
@ -614,7 +614,10 @@ function getTimeSlotsAdditionalEventData(
|
|||
) {
|
||||
var numberOfDays = null;
|
||||
if (firstAvailableAppointmentDateString)
|
||||
numberOfDays = getDateDifferenceInDays(new Date().toISOString().split("T")[0], firstAvailableAppointmentDateString);
|
||||
numberOfDays = getDateDifferenceInDays(
|
||||
new Date().toISOString().split("T")[0],
|
||||
firstAvailableAppointmentDateString
|
||||
);
|
||||
|
||||
if (shopAppointmentType)
|
||||
return `FirstAvailableAppointment:${numberOfDays},Zip:${zipCode},ShopAppointmentType:${shopAppointmentType},ProvisionalTriggers:${provisionalTriggers.join(
|
||||
|
|
|
|||
Loading…
Reference in a new issue