Commit dc37ee6b authored by Mikaël Salson's avatar Mikaël Salson Committed by Vidjil Team

controllers/default.py: checkProcess: Give access to the result ID

When a process is finished we need to access its result. Thus we provide the result ID.
Related to #1469
parent 70e5ec84
......@@ -185,7 +185,9 @@ def checkProcess():
res = {"success" : "true",
"status" : task.status,
"data" : run.run_result,
"data" : {'run_result': run.run_result,
'result_id': results_file.id
},
"processId" : task.id}
else :
if len(msg) > 0:
......
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