T
tRPC

createCaller from API NextJS (Pages Directory)

createCaller from API NextJS (Pages Directory)

Ttegarjagatgeni8/3/2023
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

Looking for more? Join the community!

T
tRPC

createCaller from API NextJS (Pages Directory)

Join Server