diff --git a/app/api/protected/route.ts b/app/api/protected/route.ts index 76652b8e..0805fea5 100644 --- a/app/api/protected/route.ts +++ b/app/api/protected/route.ts @@ -1,6 +1,6 @@ import { auth } from "auth" -export const GET = auth((req) => { +export const GET = auth ((req: any ) => { if (req.auth) { return Response.json({ data: "Protected data" }) }