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/ranking.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/ranking.rs')
-rw-r--r-- | planetwars-server/src/modules/ranking.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/planetwars-server/src/modules/ranking.rs b/planetwars-server/src/modules/ranking.rs index b1ad0da..751c35e 100644 --- a/planetwars-server/src/modules/ranking.rs +++ b/planetwars-server/src/modules/ranking.rs @@ -39,7 +39,7 @@ async fn play_ranking_match(selected_bots: Vec<Bot>, db_pool: DbPool) { let db_conn = db_pool.get().await.expect("could not get db pool"); let mut code_bundles = Vec::new(); for bot in &selected_bots { - let code_bundle = db::bots::active_code_bundle(bot.id, &db_conn) + let code_bundle = db::bots::active_bot_version(bot.id, &db_conn) .expect("could not get active code bundle"); code_bundles.push(code_bundle); } |