Skip to content

Commit

Permalink
Clean serialization of ImportTa
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Bruijnzeels committed Dec 19, 2023
1 parent c345c66 commit 1a8863e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/commons/api/import.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,9 @@ where
pub struct ImportTa {
pub ta_aia: uri::Rsync,
pub ta_uri: uri::Https,
#[serde(skip_serializing_if = "Option::is_none")]
pub ta_key_pem: Option<String>,
#[serde(skip_serializing_if = "Option::is_none")]
pub ta_mft_nr_override: Option<u64>,
}

Expand Down

0 comments on commit 1a8863e

Please sign in to comment.