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 {