fix typescript error

This commit is contained in:
MarconLP 2023-04-10 21:06:56 +02:00
parent ebc916c26d
commit 5ebccfbbdf
No known key found for this signature in database
GPG key ID: F4CAFFDFA3451D5E

View file

@ -16,7 +16,7 @@ export const exampleRouter = createTRPCRouter({
}),
getAll: publicProcedure.query(({ ctx }) => {
return ctx.prisma.example.findMany();
return ctx.prisma.video.findMany();
}),
getSecretMessage: protectedProcedure.query(() => {