Skip to content

Commit

Permalink
rm: events
Browse files Browse the repository at this point in the history
  • Loading branch information
anishshobithps committed May 11, 2024
1 parent 533fc75 commit 2b3bf85
Show file tree
Hide file tree
Showing 2 changed files with 838 additions and 845 deletions.
7 changes: 0 additions & 7 deletions src/app/api/coordinators/verify/[id]/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ export async function GET(
);
}

if (session.user.role !== UserRole.COORDINATOR) {
return NextResponse.json(
{ message: "Forbidden", isOk: false },
{ status: 403 }
);
}

const { id } = context.params;

const user = await prisma.user.findUnique({
Expand Down
Loading

0 comments on commit 2b3bf85

Please sign in to comment.