Skip to content

Commit

Permalink
Update getBlog query to include twitter, instagram, website
Browse files Browse the repository at this point in the history
  • Loading branch information
jordienr committed Jun 8, 2024
1 parent 9a4105b commit 38c4f5b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/web/app/pub/queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ export async function getBlog(subdomain: string) {

const res = await supa
.from("blogs")
.select("id, title, emoji, description, order, theme")
.select(
"id, title, emoji, description, order, theme, twitter, instagram, website"
)
.eq("slug", subdomain)
.single();

Expand Down

0 comments on commit 38c4f5b

Please sign in to comment.