Skip to content

Commit 83efbe9

Browse files
committed
slug is no longer necessary
1 parent 0e31f1a commit 83efbe9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/schema.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ export const CreateArticleSchema = ({ image }: { image: ImageFunction }) =>
1313
date: z
1414
.date()
1515
.transform((date) => new TZDate(date).withTimeZone("Asia/Tokyo")),
16-
slug: z.string().nullable(),
1716
title: z.string().nullable(),
1817
image: image(),
1918
categories: z.array(z.string()).optional(),

0 commit comments

Comments
 (0)