From 2a3c5f6eb1a86382f234b74209bf1f8eab27319f Mon Sep 17 00:00:00 2001 From: Peter Stockings Date: Sat, 11 Mar 2023 22:17:21 +1100 Subject: [PATCH] push distance, watts, calories, & speed to api (not yet persisting it) --- templates/new_workout.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/new_workout.html b/templates/new_workout.html index 40fda74..abd3db5 100644 --- a/templates/new_workout.html +++ b/templates/new_workout.html @@ -335,7 +335,7 @@ updateBikeDisplay(distance, calories, watts, speed, rpm); updateGraph(); - workout.push({ rpm, timestamp: new Date() }) + workout.push({ distance, calories, watts, speed, rpm, timestamp: new Date() }) } } prevRes = res;