chore: Renamed getSchedule to getAvailableSlots (#10626)

* refactor: renamed getScheldude to getAvailableSlots

* fix ts error

* romoved comment
This commit is contained in:
Nischal Gautam authored and GitHub committed 2023-08-07 15:00:01 +01:00
1 parent ffa3a454bb
commit 4d9047974e
3 files changed
+4 -6

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ import prisma from "@calcom/prisma";
import type { SchedulingType } from "@calcom/prisma/enums";
import type { BookingStatus } from "@calcom/prisma/enums";
import type { Slot } from "@calcom/trpc/server/routers/viewer/slots/types";
import { getSchedule } from "@calcom/trpc/server/routers/viewer/slots/util";
import { getAvailableSlots as getSchedule } from "@calcom/trpc/server/routers/viewer/slots/util";
// TODO: Mock properly
prismaMock.eventType.findUnique.mockResolvedValue(null);