diff options
| author | soryu <soryu@soryu.co> | 2026-01-29 02:23:56 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-29 02:23:56 +0000 |
| commit | c3fc0fb4b7a91308f62bd23d6a71d4a5fccfd32e (patch) | |
| tree | 274faa2561f99bda2fd8137e2d3f4ac9ae980a7f /makima/src/daemon/api | |
| parent | 7fa15385e4d47d4b304d55a1e31e13ede121d0d6 (diff) | |
| parent | 45a433c0eb63cae1322203ee14292f1c427a09c9 (diff) | |
| download | soryu-c3fc0fb4b7a91308f62bd23d6a71d4a5fccfd32e.tar.gz soryu-c3fc0fb4b7a91308f62bd23d6a71d4a5fccfd32e.zip | |
Merge branch 'master' into makima/fix-hf-cli-commandmakima/fix-hf-cli-command
Diffstat (limited to 'makima/src/daemon/api')
| -rw-r--r-- | makima/src/daemon/api/supervisor.rs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/makima/src/daemon/api/supervisor.rs b/makima/src/daemon/api/supervisor.rs index 6b99de0..c841b21 100644 --- a/makima/src/daemon/api/supervisor.rs +++ b/makima/src/daemon/api/supervisor.rs @@ -54,10 +54,9 @@ pub struct MergeRequest { #[derive(Serialize)] #[serde(rename_all = "camelCase")] pub struct CreatePrRequest { - pub task_id: Uuid, + pub branch: String, pub title: String, pub body: String, - pub base_branch: String, } #[derive(Serialize)] @@ -165,16 +164,14 @@ impl ApiClient { /// Create a pull request. pub async fn supervisor_pr( &self, - task_id: Uuid, + branch: &str, title: &str, body: &str, - base_branch: &str, ) -> Result<JsonValue, ApiError> { let req = CreatePrRequest { - task_id, + branch: branch.to_string(), title: title.to_string(), body: body.to_string(), - base_branch: base_branch.to_string(), }; self.post("/api/v1/mesh/supervisor/pr", &req).await } |
