Skip to content

Commit

Permalink
fix: role for the coordinator
Browse files Browse the repository at this point in the history
  • Loading branch information
anishshobithps committed May 8, 2024
1 parent 83a7639 commit 24ac53f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/api/coordinators/verify/[id]/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export async function GET(
);
}

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

0 comments on commit 24ac53f

Please sign in to comment.