chore: updates #47

Merged
pitbuster merged 3 commits from updates into main 2025-03-08 13:48:07 -03:00
Showing only changes of commit 930e33ba93 - Show all commits

View file

@ -119,7 +119,7 @@ async fn delete_place(State(pool): State<SqlitePool>, Path(id): Path<i64>) -> Re
pub fn places_routes(pool: SqlitePool) -> Router {
Router::new()
.route("/", get(get_places).put(upsert_place))
.route("/:id", delete(delete_place))
.route("/{id}", delete(delete_place))
.with_state(pool)
}