Seems to work (golang routine to test)
This commit is contained in:
@@ -1050,11 +1050,11 @@ def garmin_newfiles_ping(request):
|
||||
try:
|
||||
garmintoken = file['userAccessToken']
|
||||
try:
|
||||
r = Rower.objects.get(garmintoken=garmintoken
|
||||
)
|
||||
r = Rower.objects.get(garmintoken=garmintoken)
|
||||
callbackURL = file['callbackURL']
|
||||
starttime = file['startTimeInSeconds']
|
||||
job = get_garmin_file(r,callbackURL,starttime)
|
||||
fileType = file['fileType']
|
||||
job = garmin_stuff.get_garmin_file(r,callbackURL,starttime,fileType)
|
||||
except Rower.DoesNotExist:
|
||||
pass
|
||||
except KeyError:
|
||||
|
||||
Reference in New Issue
Block a user