make date field of workout json encodable

main
Julian Gegner 2023-03-02 19:43:05 +01:00
parent 0e070d73a2
commit 0e49b9cd32
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ class Workout implements DatabaseRecord {
return {
'motivationBefore': _motivationBefore,
'motivationAfter': _motivationAfter,
'workoutDate': _workoutDate,
'workoutDate': _workoutDate.toIso8601String(),
};
}
}