From 0c6408cf7ded93a46844f8ae7c0801d02f3f7e9f Mon Sep 17 00:00:00 2001 From: StephDietz Date: Wed, 20 Sep 2023 13:56:30 -0500 Subject: [PATCH] add ts ignore for auth funct --- dashboard/15-final/app/api/auth/[...nextauth]/route.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dashboard/15-final/app/api/auth/[...nextauth]/route.ts b/dashboard/15-final/app/api/auth/[...nextauth]/route.ts index 82d8360..5be3020 100644 --- a/dashboard/15-final/app/api/auth/[...nextauth]/route.ts +++ b/dashboard/15-final/app/api/auth/[...nextauth]/route.ts @@ -10,10 +10,12 @@ const authOptions: NextAuthOptions = { name: 'credentials', credentials: {}, + // TODO: Not sure how to type authorize function correctly + // @ts-ignore async authorize(credentials: { email: string; password: string; - }): Promise { + }): Promise { const { email, password } = credentials; try {