diff options
Diffstat (limited to 'makima/src/daemon/api')
| -rw-r--r-- | makima/src/daemon/api/directive.rs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/makima/src/daemon/api/directive.rs b/makima/src/daemon/api/directive.rs index 1088eb7..bf5db09 100644 --- a/makima/src/daemon/api/directive.rs +++ b/makima/src/daemon/api/directive.rs @@ -20,12 +20,6 @@ pub struct CreateStepRequest { #[derive(Serialize)] #[serde(rename_all = "camelCase")] -pub struct UpdateGoalRequest { - pub goal: String, -} - -#[derive(Serialize)] -#[serde(rename_all = "camelCase")] pub struct UpdateStepDepsRequest { pub depends_on: Vec<Uuid>, } @@ -125,16 +119,6 @@ impl ApiClient { .await } - /// Update the directive's goal. - pub async fn directive_update_goal( - &self, - directive_id: Uuid, - goal: &str, - ) -> Result<JsonValue, ApiError> { - let req = UpdateGoalRequest { goal: goal.to_string() }; - self.put(&format!("/api/v1/directives/{}/goal", directive_id), &req).await - } - /// Update directive metadata (PR URL, PR branch, status, etc.) pub async fn directive_update( &self, |
