({ token }: any)
| 26 | session: { strategy: "jwt" as SessionStrategy }, |
| 27 | callbacks: { |
| 28 | async jwt({ token }: any) { |
| 29 | return token; |
| 30 | }, |
| 31 | async session({ session, token }: any) { |
| 32 | const user = await db.user.findUnique({ |
| 33 | where: { |
nothing calls this directly
no outgoing calls
no test coverage detected