mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
OP-2427 - conform to expected format for front end
This commit is contained in:
parent
69a90001d3
commit
a6809a69aa
1 changed files with 3 additions and 1 deletions
|
|
@ -308,7 +308,9 @@ class BatchStatusEndpoint(_RestApiEndpoint):
|
|||
if output:
|
||||
status = 200
|
||||
else:
|
||||
output = {"msg": "Batch id {} not found".format(batch_id)}
|
||||
output = {"msg": "Batch id {} not found".format(batch_id),
|
||||
"status": "queued",
|
||||
"progress": 0}
|
||||
status = 404
|
||||
body = self.resource.encode(output)
|
||||
return Response(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue