Merge branch 'release/v18.1.16'
This commit is contained in:
@@ -397,7 +397,12 @@ def get_polar_workout(user,id,transactionid):
|
||||
if response.status_code == 200:
|
||||
result = response.text
|
||||
# commit transaction
|
||||
url = baseurl+'/users/{userid}/exercise-transactions/{transactionid}'.format(
|
||||
transactionid = transactionid,
|
||||
userid = r.polaruserid
|
||||
)
|
||||
response = requests.put(url,headers=headers)
|
||||
dologging('polarlog.log','Committing transaction on {url}'.format(url=url))
|
||||
else:
|
||||
result = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user