fix typescript error
This commit is contained in:
parent
ebc916c26d
commit
5ebccfbbdf
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ export const exampleRouter = createTRPCRouter({
|
||||||
}),
|
}),
|
||||||
|
|
||||||
getAll: publicProcedure.query(({ ctx }) => {
|
getAll: publicProcedure.query(({ ctx }) => {
|
||||||
return ctx.prisma.example.findMany();
|
return ctx.prisma.video.findMany();
|
||||||
}),
|
}),
|
||||||
|
|
||||||
getSecretMessage: protectedProcedure.query(() => {
|
getSecretMessage: protectedProcedure.query(() => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue