Upgraded to Next Auth v5

This commit is contained in:
Tom
2024-01-02 07:26:20 +00:00
parent a3352af981
commit 4505654a05
24 changed files with 283 additions and 227 deletions

View File

@ -14,7 +14,6 @@ export async function GET(req: Request) {
userId: user.id
}
})
if (!api) {
return new NextResponse("Forbidden", { status: 403 });
}