Private
Public Access
1
0
This commit is contained in:
2024-05-20 19:37:09 +02:00
parent 1a2647457a
commit 7733298f5c
4 changed files with 30 additions and 3 deletions

View File

@@ -4855,6 +4855,13 @@ def workout_upload_api(request):
inboard = post_data.get('inboard', None)
oarlength = post_data.get('oarlength', None)
useImpeller = post_data.get('useImpeller', False)
seatnumber = post_data.get('seatNumber', 1)
boatname = post_data.get('boatName','')
portStarboard = post_data.get('portStarboard', 1)
empowerside = 'port'
if portStarboard == 1:
empowerside = 'starboard'
totalDistance = post_data.get('totalDistance', None)
elapsedTime = post_data.get('elapsedTime', None)
@@ -4946,6 +4953,9 @@ def workout_upload_api(request):
oarlength=oarlength,
impeller=useImpeller,
workoutid=workoutid,
empowerside=empowerside,
boatname=boatname,
seatnumber=seatnumber,
)
if id == 0: # pragma: no cover