fix blog not using updated db schema

This commit is contained in:
Alex Frantz
2024-03-21 01:45:58 -04:00
parent 3a9690d2ba
commit 2cb6925ab2
5 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ export const postRouter = createTRPCRouter({
delete: protectedProcedure
.input(
z.string().min(1)
z.number().min(1)
)
.mutation(async ({ctx, input}) => {
return ctx.db.post.delete({