Skip to content

Commit

Permalink
feat(server): Include price_not_shown in property API responses
Browse files Browse the repository at this point in the history
  • Loading branch information
csulit committed Oct 31, 2024
1 parent fa91553 commit 8767385
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ app.get("/api/properties", async (c: Context) => {
l.is_scraped,
l.price,
l.price_formatted,
l.price_not_shown,
p.id AS property_id,
p.user_id,
p.floor_size,
Expand Down Expand Up @@ -523,6 +524,7 @@ app.patch("/api/properties/:id/generate-ai-description", async (c: Context) => {
l.is_scraped,
l.price,
l.price_formatted,
l.price_not_shown,
p.id AS property_id,
p.user_id,
p.floor_size,
Expand Down Expand Up @@ -643,6 +645,7 @@ app.get("/api/properties/:id", async (c: Context) => {
l.is_scraped,
l.price,
l.price_formatted,
l.price_not_shown,
p.id AS property_id,
p.user_id,
p.floor_size,
Expand Down

0 comments on commit 8767385

Please sign in to comment.