diff --git a/src/api.rs b/src/api.rs index 33ee5dfaeb..5a5d9602c4 100644 --- a/src/api.rs +++ b/src/api.rs @@ -2610,8 +2610,6 @@ pub struct Deploy { pub started: Option>, #[serde(rename = "dateFinished")] pub finished: Option>, - #[serde(skip_serializing_if = "Option::is_none")] - pub projects: Option>, } impl Deploy { diff --git a/src/commands/deploys/new.rs b/src/commands/deploys/new.rs index 8188785d65..f289fc81b2 100644 --- a/src/commands/deploys/new.rs +++ b/src/commands/deploys/new.rs @@ -71,7 +71,6 @@ pub fn execute(matches: &ArgMatches) -> Result<()> { env: matches.get_one::("env").unwrap().to_string(), name: matches.get_one::("name").cloned(), url: matches.get_one::("url").cloned(), - projects: config.get_projects(matches).ok(), ..Default::default() };