From fad6d19d0b74eee467d026c61f655b8a18f8281b Mon Sep 17 00:00:00 2001 From: Dustin Rouillard Date: Sun, 20 Oct 2024 16:42:20 -0600 Subject: [PATCH] Add current_ride in route, whoops --- src/services/boosted/routes.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/services/boosted/routes.rs b/src/services/boosted/routes.rs index 8d1d212..44b6737 100644 --- a/src/services/boosted/routes.rs +++ b/src/services/boosted/routes.rs @@ -33,6 +33,7 @@ async fn ride_stats( Ok(HttpResponse::Ok().json(json!({"boosted": { "riding": in_ride, + "current_ride": json.current_ride, "latest_ride": json.latest_ride, "stats": json.stats }})))