aboutsummaryrefslogtreecommitdiff
path: root/planetwars-server/src/routes/bots.rs
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2022-06-10 21:09:33 +0200
committerIlion Beyst <ilion.beyst@gmail.com>2022-06-10 21:09:33 +0200
commit5ee66c9c9b4156692c739a861c9cdbaf0c65aec8 (patch)
tree55c1ce0b99b26c6837304d72da772be6491882ff /planetwars-server/src/routes/bots.rs
parentd1977b95c82f608bc558432cdfba8026aaf0648d (diff)
downloadplanetwars.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.rs2
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};