79419049

Date: 2025-02-06 18:57:06
Score: 1
Natty:
Report link

I ran into this same issue and was able to resolve it with the following type cast:

const handler = NextAuth(authOptions) as (request: Request) => void;

export { handler as GET, handler as POST };
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Lynn Kale