From 19b9a6ea1b8a36ae2301ffbc95cf2f54bf7fa77f Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Tue, 11 Oct 2022 22:58:42 +0200 Subject: add new bot stats endpoint --- planetwars-server/src/modules/bots.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'planetwars-server/src/modules') diff --git a/planetwars-server/src/modules/bots.rs b/planetwars-server/src/modules/bots.rs index 4aba168..6a2883c 100644 --- a/planetwars-server/src/modules/bots.rs +++ b/planetwars-server/src/modules/bots.rs @@ -24,7 +24,7 @@ pub fn save_code_string( container_digest: None, }; let version = db::bots::create_bot_version(&new_code_bundle, conn)?; - // Leave this coupled for now - this is how the behaviour was bevore. + // Leave this coupled for now - this is how the behaviour was before. // It would be cleaner to separate version setting and bot selection, though. if let Some(bot_id) = bot_id { db::bots::set_active_version(bot_id, Some(version.id), conn)?; -- cgit v1.2.3