update current job to in progress

This commit is contained in:
Ruben Fiszel
2022-07-31 22:47:07 +02:00
parent 3ebc9b7b09
commit 803fb510c4
+1 -1
View File
@@ -280,7 +280,7 @@ pub async fn update_flow_status_in_progress(
SET flow_status = jsonb_set(flow_status, '{{modules, {step}, job}}', $1)
WHERE id = $2 AND workspace_id = $3",
))
.bind(job_in_progress.to_string())
.bind(json!(job_in_progress.to_string()))
.bind(flow)
.bind(w_id)
.execute(db)