DrippyDog
DrippyDog17mo ago

Having Issue With Context in App Directory Next.js

I am having an issue with creatin the trpc context with both the session and prisma. I am trying to use the next 13 app directory and know it has been changed due to how the new api folder works. Using a publicProceedure works properly, but that protectedProcedure says unauthorized. I am using nextauth too
No description
No description
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?