fix(backend): correct version join of list search flows (#4022)

This commit is contained in:
HugoCasa
2024-07-04 15:13:16 +02:00
committed by GitHub
parent 0ada83a80a
commit 39bcc151dd
+1 -1
View File
@@ -95,7 +95,7 @@ async fn list_search_flows(
"SELECT flow.path, flow_version.value
FROM flow
LEFT JOIN flow_version ON flow_version.id = flow.versions[array_upper(flow.versions, 1)]
WHERE workspace_id = $1 LIMIT $2",
WHERE flow.workspace_id = $1 LIMIT $2",
)
.bind(&w_id)
.bind(n)