aboutsummaryrefslogtreecommitdiff
path: root/planetwars-server/src/db/matches.rs
diff options
context:
space:
mode:
Diffstat (limited to 'planetwars-server/src/db/matches.rs')
-rw-r--r--planetwars-server/src/db/matches.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/planetwars-server/src/db/matches.rs b/planetwars-server/src/db/matches.rs
index c86f332..2aff44b 100644
--- a/planetwars-server/src/db/matches.rs
+++ b/planetwars-server/src/db/matches.rs
@@ -176,6 +176,7 @@ pub fn list_public_matches(
pub fn list_bot_matches(
bot_id: i32,
opponent_id: Option<i32>,
+ map_id: Option<i32>,
outcome: Option<BotMatchOutcome>,
had_errors: Option<bool>,
amount: i64,
@@ -188,6 +189,7 @@ pub fn list_bot_matches(
outcome,
had_errors,
opponent_id,
+ map_id,
before,
after,
amount,