fix: skip verified_at if not present
This commit is contained in:
parent
0873ff46f8
commit
84f1cbd913
1 changed files with 2 additions and 0 deletions
|
@ -8,6 +8,8 @@ use crate::ext::{JsonVec, TypeName};
|
|||
pub struct Field {
|
||||
pub name: String,
|
||||
pub value: String,
|
||||
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub verified_at: Option<ChronoDateTimeUtc>,
|
||||
|
||||
#[serde(rename = "type")]
|
||||
|
|
Loading…
Reference in a new issue