fix: fixed all-day timing submissions
This commit is contained in:
@@ -99,8 +99,8 @@
|
|||||||
return fullDayOfWeek.map((day) => ({
|
return fullDayOfWeek.map((day) => ({
|
||||||
study_space_id: studySpaceId,
|
study_space_id: studySpaceId,
|
||||||
day_of_week: day,
|
day_of_week: day,
|
||||||
opens_at: allDays.open_today_status !== null ? allDays.opens_at : "00:00",
|
opens_at: allDays.open_today_status === null ? allDays.opens_at : "00:00",
|
||||||
closes_at: allDays.open_today_status !== null ? allDays.closes_at : "00:01",
|
closes_at: allDays.open_today_status === null ? allDays.closes_at : "00:01",
|
||||||
open_today_status: allDays.open_today_status
|
open_today_status: allDays.open_today_status
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user