Frontend: removed title from zod post schema

main
TZGyn 2 years ago
parent fadc2ee071
commit 586c03c935
Signed by: TZGyn
GPG Key ID: 122EAF77AE81FD4A

@ -3,7 +3,6 @@ import { z } from 'zod'
const PostValidator = z.object({ const PostValidator = z.object({
sequence: z.number(), sequence: z.number(),
id: z.string(), id: z.string(),
title: z.string(),
description: z.string(), description: z.string(),
created_at: z.string().datetime(), created_at: z.string().datetime(),
updated_at: z.string(), updated_at: z.string(),

Loading…
Cancel
Save