more quick fixes
This commit is contained in:
@@ -4405,7 +4405,7 @@ def workout_upload_api(request):
|
||||
secret = json_data['secret']
|
||||
post_data = json_data
|
||||
except (KeyError,JSONDecodeError):
|
||||
post_data = request.POST
|
||||
post_data = dict(request.POST.iterlists())
|
||||
|
||||
# only allow local host
|
||||
hostt = request.get_host().split(':')
|
||||
|
||||
Reference in New Issue
Block a user