Skip to content

Commit 8c09e45

Browse files
committed
Update posts api
1 parent a34f0ab commit 8c09e45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/page/pages/api/posts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ async function handler(
2121
try {
2222
const { data: posts } = await supabaseAdmin
2323
.from("posts")
24-
.select("id,title,content,type,publication_date,updated_at,created_at")
24+
.select("id,title,content,tags,publication_date,updated_at,created_at")
2525
.eq("page_id", String(page_id))
2626
.eq("status", "published")
2727
.range(Number(offset), Number(PAGINATION_LIMIT - 1 + Number(offset)))

0 commit comments

Comments
 (0)