Scheduling infrastructure for absolutely everyone.
Removed faulty check
nicolas5a5e61739b5f
diff --git a/pages/api/book/[user].ts b/pages/api/book/[user].tsindex b032c925f56..eeda903a419 100644--- a/pages/api/book/[user].ts+++ b/pages/api/book/[user].ts@@ -34,11 +34,6 @@ function isAvailable(busyTimes, time, length) {const startTime = dayjs(busyTime.start);const endTime = dayjs(busyTime.end);- // Check if start times are the same- if (dayjs(time).format("HH:mm") == startTime.format("HH:mm")) {- t = false;- }-// Check if time is between start and end timesif (dayjs(time).isBetween(startTime, endTime)) {t = false;