diff --git a/lib/src/hub_client.dart b/lib/src/hub_client.dart index 9b0b8ac..239e5b7 100644 --- a/lib/src/hub_client.dart +++ b/lib/src/hub_client.dart @@ -766,8 +766,13 @@ class HubClient { Map textInputs = const {}, Map fileInputs = const {}, Map fileMimeTypes = const {}, + String project = '', }) async { - final req = pb.RunSavedFlowRequest()..name = name; + // Project override for this run; empty keeps the saved flow's + // own `project:`, then `general` (resolved hub-side). + final req = pb.RunSavedFlowRequest() + ..name = name + ..project = project; for (final entry in textInputs.entries) { req.inputs[entry.key] = pb_common.Payload()..text = entry.value; }