[fix] error from c/p

This commit is contained in:
Laurent Peuch 2018-09-03 07:09:08 +02:00
parent 9432403fd4
commit c77e45d551

2
run.py
View file

@ -496,7 +496,7 @@ async def api_restart_job(request, job_id):
await broadcast({ await broadcast({
"action": "update_job", "action": "update_job",
"data": data, "data": model_to_dict(job),
}, ["jobs", f"job-{job_id}"]) }, ["jobs", f"job-{job_id}"])
return response.text("ok") return response.text("ok")