Remove old comment

pull/9078/head
Joe Au-Yeung 2022-10-06 10:02:35 -04:00
parent 372e188228
commit 4ac9c1e6dd
1 changed files with 0 additions and 1 deletions

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 } }