Formatting
This commit is contained in:
parent
87c1baf381
commit
8e44d75a54
1 changed files with 2 additions and 3 deletions
|
|
@ -119,9 +119,8 @@ function assignInshopTimeSlotsFromV2Response(entries, multiProviderResponse) {
|
|||
const providerTimeSlots = multiProviderResponse?.providerTimeSlots ?? [];
|
||||
entries.forEach((entry) => {
|
||||
entry.timeSlots =
|
||||
providerTimeSlots.find(
|
||||
(pts) => pts.providerNumber === entry.provider.providerNumber
|
||||
) ?? null;
|
||||
providerTimeSlots.find((pts) => pts.providerNumber === entry.provider.providerNumber) ??
|
||||
null;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue