Private
Public Access
1
0

nk regressions

This commit is contained in:
2023-10-01 16:38:45 +02:00
parent 29439f552c
commit 0c3de6fa56
3 changed files with 80 additions and 2 deletions

View File

@@ -5155,7 +5155,7 @@ def workout_toggle_ranking(request, id=0):
@csrf_exempt
def workout_upload_api(request):
if request.method != 'POST': # pragma: no cover
if request.method!= 'POST': # pragma: no cover
message = {'status': 'false',
'message': 'this view cannot be accessed through GET'}
return JSONResponse(status=403, data=message)