Commit d6a8c289 authored by LETORT Sebastien's avatar LETORT Sebastien

Update views.py

I propose to replace the state_display with status which is what is used in the web interface. This gives more information to the user.
parent 97c942a3
Pipeline #99785 passed with stages
in 3 minutes
......@@ -34,7 +34,7 @@ class APIJobView(JobAuthMixin, View):
response = {
job.id: files,
"status": job.get_state_display().lower(),
"status": job.status,
}
return JsonResponse(response)
except Job.DoesNotExist as e:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment