Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Set default value for max_rir

Roland Geider34599c7b3f52
diff --git a/wger/manager/dataclasses.py b/wger/manager/dataclasses.py
index 3928c3444..d354a2eaa 100644
--- a/wger/manager/dataclasses.py
+++ b/wger/manager/dataclasses.py
@@ -48,9 +48,9 @@ class SetConfigData:
weight: Decimal | int | None
reps: Decimal | int | None
rir: Decimal | int | None
- max_rir: Decimal | int | None
rest: int | None
+ max_rir: Decimal | int | None = None
max_weight: Decimal | int | None = None
max_reps: Decimal | int | None = None
max_rest: int | None = None