From 4ac9c1e6dd4be13f6f35fb79e9f2d26cd29a742b Mon Sep 17 00:00:00 2001 From: Joe Au-Yeung Date: Thu, 6 Oct 2022 10:02:35 -0400 Subject: [PATCH] Remove old comment --- pages/api/schedules/index.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/pages/api/schedules/index.ts b/pages/api/schedules/index.ts index 29b5577c51..d6156c9c8b 100644 --- a/pages/api/schedules/index.ts +++ b/pages/api/schedules/index.ts @@ -32,7 +32,6 @@ async function createOrlistAllSchedules( * description: No schedules were found */ const data = await prisma.schedule.findMany({ - // where: { userId: body.userId && isAdmin ? body.userId : userId }, where: { ...(Array.isArray(body.userId) ? { userId: { in: body.userId } }