Skip to content

Commit

Permalink
Fix routing for DELETE /projects/:id/conversations/:id
Browse files Browse the repository at this point in the history
  • Loading branch information
calyptobai committed Dec 15, 2023
1 parent e341b00 commit a2baa4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/bleep/src/webserver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,11 @@ pub async fn start(app: Application) -> anyhow::Result<()> {
)
.route(
"/projects/:project_id/conversations",
get(conversation::list).delete(conversation::delete),
get(conversation::list),
)
.route(
"/projects/:project_id/conversations/:conversation_id",
get(conversation::get),
get(conversation::get).delete(conversation::delete),
)
.route("/projects/:project_id/q", get(query::handle))
.route("/projects/:project_id/search/path", get(search::fuzzy_path))
Expand Down

0 comments on commit a2baa4c

Please sign in to comment.