halfmoon
halfmoon16mo ago

createCaller from API NextJS (Pages Directory)

Hi, i want to call the procedure I was created in nextJS API.. and I already look at the documentation but I'm getting error like this 👇🏻 Argument of type '{}' is not assignable to parameter of type '{ session: Session | null; prisma: PrismaClient<Prisma.PrismaClientOptions, never, DefaultArgs>; }'. how to fix it?
No description
No description
0 Replies
No replies yetBe the first to reply to this messageJoin