Commit 4c45f78c authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Return all calcs of upload in mirror API.

parent 1c60db62
Pipeline #53361 passed with stages
in 19 minutes and 12 seconds
......@@ -90,6 +90,6 @@ class MirrorUploadResource(Resource):
return {
'upload_id': upload.upload_id,
'upload': upload.to_json(),
'calcs': [calc.to_json() for calc in upload.calcs],
'calcs': [calc.to_json() for calc in proc.Calc.objects(upload_id=upload.upload_id)],
'upload_files_path': upload.upload_files.os_path
}, 200
Supports Markdown
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