Skip to content

Commit

Permalink
Updated feeds api - removed content from feed api
Browse files Browse the repository at this point in the history
The feed API has been updated to return all data except the content.
  • Loading branch information
PJijin committed May 12, 2023
1 parent 07ff6cf commit 97806b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/router/_app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const appRouter = router({
feed: procedure.query(async ({ input }) => {
const response = await supabaseAdminClient
.from("posts")
.select("*")
.select("id", "preview_content", "lock_address", "lock_network", "author_address", "is_published", "updated_at", "created_at")
.order("updated_at", { ascending: false })
.filter("is_published", "eq", true)
.limit(100);
Expand Down

0 comments on commit 97806b0

Please sign in to comment.