Remove old comment

This commit is contained in:
Joe Au-Yeung
2022-10-06 10:02:35 -04:00
parent 372e188228
commit 4ac9c1e6dd
-1
View File
@@ -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 } }