fix: update flow path (#4053)

This commit is contained in:
HugoCasa
2024-07-09 17:13:21 +02:00
committed by GitHub
parent 08529b1b1e
commit 4ef357db17
+1 -1
View File
@@ -730,7 +730,7 @@ async fn update_flow(
sqlx::query!(
"UPDATE flow SET versions = array_append(versions, $1) WHERE path = $2 AND workspace_id = $3",
version, flow_path, w_id
version, nf.path, w_id
).execute(&mut tx).await?;
if is_new_path {