mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-20 00:02:19 +00:00
fix: empty flows not return their inputs
This commit is contained in:
@@ -931,7 +931,7 @@ async fn push_next_flow_job<R: rsmq_async::RsmqConnection + Send + Sync + Clone>
|
||||
flow_job.workspace_id.as_str(),
|
||||
true,
|
||||
if flow.modules.is_empty() {
|
||||
json!({})
|
||||
flow_job.args.clone().unwrap_or_default()
|
||||
} else {
|
||||
json!([])
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user