fixing fit api
This commit is contained in:
@@ -644,7 +644,7 @@ def strokedata_fit(request):
|
||||
dologging('apilog.log','FIT API endpoint')
|
||||
dologging('apilog.log',e)
|
||||
_ = myqueue(queuehigh, handle_sendemail_unrecognized, fit_filename, "fit parser")
|
||||
return HttpResponse(status=500)
|
||||
return JSONResponse({"error": "the uploaded file is corrupted or invalid and cannot be processed"}, status=422)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user