Skip to content

Commit d931cd9

Browse files
committed
Remove post type
1 parent 8df11c2 commit d931cd9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

apps/web/pages/api/posts/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ const createNewPost = async (req: NextApiRequest, res: NextApiResponse) => {
1010
page_id,
1111
title,
1212
content,
13-
type,
1413
tags,
1514
status,
1615
images_folder,
@@ -40,7 +39,6 @@ const createNewPost = async (req: NextApiRequest, res: NextApiResponse) => {
4039
page_id,
4140
title,
4241
content,
43-
type: type ?? tags[0], // To be removed
4442
tags,
4543
status,
4644
images_folder,

0 commit comments

Comments
 (0)