diff options
author | Xander <xander@biltopia.org> | 2023-10-22 12:31:51 +0200 |
---|---|---|
committer | Xander <xander@biltopia.org> | 2023-10-22 12:31:51 +0200 |
commit | 3ac0ecfec25617e5282f507de615c8ea5a29b69d (patch) | |
tree | 3c8539c026c5356947896cf751bfe576461f97ef /planetwars-server/src/routes/matches.rs | |
parent | ccee0f7ca6dc2b2542b84922d855f51204033b8a (diff) | |
download | planetwars.dev-3ac0ecfec25617e5282f507de615c8ea5a29b69d.tar.xz planetwars.dev-3ac0ecfec25617e5282f507de615c8ea5a29b69d.zip |
Add containerfile and fix all issues
Diffstat (limited to 'planetwars-server/src/routes/matches.rs')
-rw-r--r-- | planetwars-server/src/routes/matches.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/planetwars-server/src/routes/matches.rs b/planetwars-server/src/routes/matches.rs index 1ae8c27..0b8e5b7 100644 --- a/planetwars-server/src/routes/matches.rs +++ b/planetwars-server/src/routes/matches.rs @@ -108,6 +108,10 @@ pub async fn list_recent_matches( None => matches::list_public_matches(count, params.before, params.after, &mut conn), }; + match matches_result { + Ok(_) => println!("ok"), + Err(ref err) => println!("{}",err) + }; let mut matches = matches_result.expect("failed to get matches"); //.map_err(|_| StatusCode::BAD_REQUEST)?; let mut has_next = false; |