diff --git a/src/server/routers/mentor.ts b/src/server/routers/mentor.ts index 2e04ebc..0205cff 100644 --- a/src/server/routers/mentor.ts +++ b/src/server/routers/mentor.ts @@ -169,7 +169,7 @@ export const mentorRouter = router({ const mentors = await ctx.prisma.user.findMany({ where: { roles: { has: 'MENTOR' }, - status: 'ACTIVE', + status: { not: 'SUSPENDED' }, }, select: { id: true, @@ -996,7 +996,7 @@ export const mentorRouter = router({ const mentors = await ctx.prisma.user.findMany({ where: { roles: { has: 'MENTOR' }, - status: 'ACTIVE', + status: { not: 'SUSPENDED' }, }, select: { id: true,