Browse Source

Fix the new order request

pull/39/head
Rodolphe Breard 4 years ago
parent
commit
53a6eff1eb
  1. 3
      acmed/src/acme_proto/structs/order.rs

3
acmed/src/acme_proto/structs/order.rs

@ -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>,
}

Loading…
Cancel
Save