diff --git a/app.py b/app.py index df9b48e..8be77d5 100644 --- a/app.py +++ b/app.py @@ -216,6 +216,11 @@ def create_workout(user_id): @app.route('/user//workouts/graph', methods=['GET']) def graph_user_workouts(user_id): + attributes = request.args.getlist( + 'attributes', type=str) + if not attributes: + return "" + if htmx: return f"""