From c77e45d551e6d11155f25c31e173f73e46608d26 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Mon, 3 Sep 2018 07:09:08 +0200 Subject: [PATCH] [fix] error from c/p --- run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.py b/run.py index de3bc34..2892f94 100644 --- a/run.py +++ b/run.py @@ -496,7 +496,7 @@ async def api_restart_job(request, job_id): await broadcast({ "action": "update_job", - "data": data, + "data": model_to_dict(job), }, ["jobs", f"job-{job_id}"]) return response.text("ok")