Compare commits

...

2 Commits

Author SHA1 Message Date
Syed Ali Shahbaz 54fdf96fc6
fix getschedule test for offset 2023-10-17 16:32:47 +04:00
Syed Ali Shahbaz e99b7f630c
removes iterative offset 2023-10-17 16:18:23 +04:00
2 changed files with 2 additions and 2 deletions

View File

@ -678,7 +678,7 @@ describe("getSchedule", () => {
eventTypes: [
{
id: 1,
length: 25,
length: 30,
offsetStart: 5,
users: [
{

View File

@ -198,7 +198,7 @@ function buildSlotsWithDateRanges({
slots.push({
time: slotStartTime,
});
slotStartTime = slotStartTime.add(frequency + (offsetStart ?? 0), "minutes");
slotStartTime = slotStartTime.add(frequency, "minutes");
}
});