Skip to content

Commit

Permalink
refactor(server): Change endpoint method to PATCH for AI description …
Browse files Browse the repository at this point in the history
…generation
  • Loading branch information
csulit committed Oct 30, 2024
1 parent e790189 commit 71093bc
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/:id/generate-ai-description", async (c: Context) => {
app.patch("/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 71093bc

Please sign in to comment.