diff options
author | Ilion Beyst <ilion.beyst@gmail.com> | 2022-06-10 21:09:33 +0200 |
---|---|---|
committer | Ilion Beyst <ilion.beyst@gmail.com> | 2022-06-10 21:09:33 +0200 |
commit | 5ee66c9c9b4156692c739a861c9cdbaf0c65aec8 (patch) | |
tree | 55c1ce0b99b26c6837304d72da772be6491882ff /planetwars-server/src/routes/bots.rs | |
parent | d1977b95c82f608bc558432cdfba8026aaf0648d (diff) | |
download | planetwars.dev-5ee66c9c9b4156692c739a861c9cdbaf0c65aec8.tar.xz planetwars.dev-5ee66c9c9b4156692c739a861c9cdbaf0c65aec8.zip |
allow match_player code_bundle_id to be null
Diffstat (limited to 'planetwars-server/src/routes/bots.rs')
-rw-r--r-- | planetwars-server/src/routes/bots.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/planetwars-server/src/routes/bots.rs b/planetwars-server/src/routes/bots.rs index 3bbaa1a..df0c4d0 100644 --- a/planetwars-server/src/routes/bots.rs +++ b/planetwars-server/src/routes/bots.rs @@ -12,7 +12,7 @@ use std::path::PathBuf; use thiserror; use crate::db::bots::{self, CodeBundle}; -use crate::db::ratings::{RankedBot, self}; +use crate::db::ratings::{self, RankedBot}; use crate::db::users::User; use crate::modules::bots::save_code_bundle; use crate::{DatabaseConnection, BOTS_DIR}; |