Skip to content

Scheduling infrastructure for absolutely everyone.

Fix slot wrapper (#13379)

Syed Ali Shahbaz00a2a3d8a829
diff --git a/apps/api/pages/api/slots/_get.ts b/apps/api/pages/api/slots/_get.ts
index 4c2d2094648..3f6ef9b29c4 100644
--- a/apps/api/pages/api/slots/_get.ts
+++ b/apps/api/pages/api/slots/_get.ts
@@ -38,7 +38,7 @@ async function handler(req: NextApiRequest, res: NextApiResponse) {
},
{}
)
- : availableSlots;
+ : availableSlots.slots;
return { slots: slotsInProvidedTimeZone };
// eslint-disable-next-line @typescript-eslint/no-explicit-any