Remove old comment
parent
372e188228
commit
4ac9c1e6dd
|
@ -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 } }
|
||||
|
|
Loading…
Reference in New Issue