Remove old comment
This commit is contained in:
1 parent
372e188228
commit
4ac9c1e6dd
1 file changed
-1
@@ -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 } }
|
||||
|
||||
Reference in new issue
Block a user