Private
Public Access
1
0

small fix - adding name

This commit is contained in:
2025-03-02 14:03:00 +01:00
parent a551db224e
commit 1fb69353fe

View File

@@ -3608,6 +3608,8 @@ def handle_intervals_updateworkout(workout, debug=False, **kwargs):
else: else:
jsondict['sub_type'] = "NONE" jsondict['sub_type'] = "NONE"
jsondict['name'] = workout.name
if workout.rpe is not None and workout.rpe > 0: if workout.rpe is not None and workout.rpe > 0:
jsondict['icu_rpe'] = workout.rpe jsondict['icu_rpe'] = workout.rpe
jsondict['commute'] = workout.is_commute jsondict['commute'] = workout.is_commute