Skip to content

Commit

Permalink
fix(server): Add missing :id param in AI description endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
csulit committed Oct 30, 2024
1 parent e6e9f62 commit e790189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ app.get("/api/properties/cities", async (c: Context) => {
});
});

app.get("/api/properties/generate-ai-description", async (c: Context) => {
app.get("/api/properties/:id/generate-ai-description", async (c: Context) => {
using client = await dbPool.connect();
const id = c.req.param("id");

Expand Down

0 comments on commit e790189

Please sign in to comment.