From 0283ca4e6ab97277b989e605a4263364bd595c97 Mon Sep 17 00:00:00 2001 From: Boby900 Date: Sun, 7 Jan 2024 13:50:35 +0530 Subject: [PATCH] added type any --- app/api/protected/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" }) }