Skip to content

Commit e4450d4

Browse files
cpudjc
authored andcommitted
types: don't serialize a null NewOrder.profiles field
1 parent b3da4d0 commit e4450d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/types.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,7 @@ pub struct NewOrder<'a> {
415415
pub(crate) replaces: Option<CertificateIdentifier<'a>>,
416416
/// Identifiers to be included in the order
417417
identifiers: &'a [Identifier],
418+
#[serde(skip_serializing_if = "Option::is_none")]
418419
profile: Option<&'a str>,
419420
}
420421

0 commit comments

Comments
 (0)