From 8767385bd717e207bfd97b0d94ed7350055ad40c Mon Sep 17 00:00:00 2001 From: casulit Date: Thu, 31 Oct 2024 14:29:04 +0800 Subject: [PATCH] feat(server): Include price_not_shown in property API responses --- server.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server.ts b/server.ts index 2549de4..ea46d1e 100644 --- a/server.ts +++ b/server.ts @@ -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, @@ -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, @@ -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,