Upgraded to Next Auth v5
This commit is contained in:
@ -14,7 +14,6 @@ export async function GET(req: Request) {
|
||||
userId: user.id
|
||||
}
|
||||
})
|
||||
|
||||
if (!api) {
|
||||
return new NextResponse("Forbidden", { status: 403 });
|
||||
}
|
||||
|
Reference in New Issue
Block a user