diff --git a/Cargo.toml b/Cargo.toml index 1f5fc9e..c9b9095 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "peridio-sdk" description = "Peridio SDK" homepage = "https://peridio.com" repository = "https://github.com/peridio/reishi" -version = "0.2.0" +version = "0.2.1" edition = "2021" build = "build.rs" diff --git a/src/api/releases.rs b/src/api/releases.rs index 0dc9f35..a99d84c 100644 --- a/src/api/releases.rs +++ b/src/api/releases.rs @@ -34,6 +34,8 @@ pub struct CreateReleaseParams { pub bundle_prn: String, pub cohort_prn: String, pub description: Option, + #[serde(skip_serializing_if = "Option::is_none")] + #[serde(default)] pub disabled: Option, pub name: String, #[serde(skip_serializing_if = "Option::is_none")]