Skip to content

Commit

Permalink
Update expiration to preclude negative values.
Browse files Browse the repository at this point in the history
Co-authored-by: Hännetz <34142036+Haennetz@users.noreply.github.com>
  • Loading branch information
grahambinns and Haennetz authored Feb 12, 2024
1 parent 8b3437c commit fcd7193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/pki/responses.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use serde::{Deserialize, Serialize};
pub struct GenerateCertificateResponse {
pub ca_chain: Option<Vec<String>>,
pub certificate: String,
pub expiration: Option<i64>,
pub expiration: Option<u64>,
pub issuing_ca: String,
pub private_key: String,
pub private_key_type: String,
Expand Down

0 comments on commit fcd7193

Please sign in to comment.