diff options
author | Ilion Beyst <ilion.beyst@gmail.com> | 2022-07-04 22:33:35 +0200 |
---|---|---|
committer | Ilion Beyst <ilion.beyst@gmail.com> | 2022-07-04 22:33:35 +0200 |
commit | ea05674b4473d9399f5aa6dca982ae73aad0ebcf (patch) | |
tree | 708b31b66295bde57b49ac9854c6778450de7132 /planetwars-server/src/lib.rs | |
parent | 268e080ec1b11e75309c3b134e16cf6ea7004ac6 (diff) | |
download | planetwars.dev-ea05674b4473d9399f5aa6dca982ae73aad0ebcf.tar.xz planetwars.dev-ea05674b4473d9399f5aa6dca982ae73aad0ebcf.zip |
remove obsolete create match route
Diffstat (limited to 'planetwars-server/src/lib.rs')
-rw-r--r-- | planetwars-server/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/planetwars-server/src/lib.rs b/planetwars-server/src/lib.rs index 9c9a03c..8798945 100644 --- a/planetwars-server/src/lib.rs +++ b/planetwars-server/src/lib.rs @@ -85,7 +85,7 @@ pub fn api() -> Router { ) .route( "/matches", - get(routes::matches::list_matches).post(routes::matches::play_match), + get(routes::matches::list_matches), ) .route("/matches/:match_id", get(routes::matches::get_match_data)) .route( |