diff --git a/Dockerfile b/Dockerfile index 837c6aa..7c05e20 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM rust:1-bookworm as builder +FROM rust:1.79-bookworm as builder WORKDIR /usr/src/app COPY . . diff --git a/src/routes/scores/get.rs b/src/routes/scores/get.rs index 09b5a9c..6bdaa85 100644 --- a/src/routes/scores/get.rs +++ b/src/routes/scores/get.rs @@ -109,6 +109,7 @@ async fn match_summary(match_id: Uuid, pg_pool: &PgPool) -> Result = match_scores .into_iter() + .take(5) .map(|res| { format!( r#" @@ -131,6 +132,7 @@ async fn match_summary(match_id: Uuid, pg_pool: &PgPool) -> Result Match Results Graph +

Most recent results