diff options
author | Ilion Beyst <ilion.beyst@gmail.com> | 2022-07-06 22:41:27 +0200 |
---|---|---|
committer | Ilion Beyst <ilion.beyst@gmail.com> | 2022-07-06 22:41:27 +0200 |
commit | d7b7585dd70f9d41184cf88c2ecbd88341898c38 (patch) | |
tree | 89a7fc180152f18273159104265e7894718e8560 /planetwars-server/src/modules/bots.rs | |
parent | b3df5c6f8cc59e099a2f1db3df8089af4abca02e (diff) | |
download | planetwars.dev-d7b7585dd70f9d41184cf88c2ecbd88341898c38.tar.xz planetwars.dev-d7b7585dd70f9d41184cf88c2ecbd88341898c38.zip |
rename code_bundle to bot_version
Diffstat (limited to 'planetwars-server/src/modules/bots.rs')
-rw-r--r-- | planetwars-server/src/modules/bots.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/planetwars-server/src/modules/bots.rs b/planetwars-server/src/modules/bots.rs index ddc1589..cd26ee0 100644 --- a/planetwars-server/src/modules/bots.rs +++ b/planetwars-server/src/modules/bots.rs @@ -8,7 +8,7 @@ pub fn save_code_bundle( bot_code: &str, bot_id: Option<i32>, conn: &PgConnection, -) -> QueryResult<db::bots::CodeBundle> { +) -> QueryResult<db::bots::BotVersion> { let bundle_name = gen_alphanumeric(16); let code_bundle_dir = PathBuf::from(BOTS_DIR).join(&bundle_name); |