Skip to content

Commit

Permalink
Fix the new order request
Browse files Browse the repository at this point in the history
  • Loading branch information
breard-r committed Sep 19, 2020
1 parent 1a1c1be commit 53a6eff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions acmed/src/acme_proto/structs/order.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ use std::fmt;
use std::str::FromStr;

#[derive(Serialize)]
#[serde(rename_all = "camelCase")]
pub struct NewOrder {
pub identifiers: Vec<Identifier>,
#[serde(skip_serializing_if = "Option::is_none")]
pub not_before: Option<String>,
#[serde(skip_serializing_if = "Option::is_none")]
pub not_after: Option<String>,
}

Expand Down

0 comments on commit 53a6eff

Please sign in to comment.