Skip to content

Commit b7777c3

Browse files
committed
primitives - AdSlot - add default for modify
1 parent 986ec73 commit b7777c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

primitives/src/ad_slot.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@ pub struct AdSlot {
5454
#[serde(default)]
5555
pub archived: bool,
5656
/// UTC timestamp in milliseconds, changed every time modifiable property is changed
57-
#[serde(with = "ts_milliseconds_option")]
57+
#[serde(default, with = "ts_milliseconds_option")]
5858
pub modified: Option<DateTime<Utc>>,
5959
}

0 commit comments

Comments
 (0)