Skip to content

Commit 4f2f075

Browse files
committed
removed serde with milliseconds for adUnit as that might fail as well
1 parent 2b48692 commit 4f2f075

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

primitives/src/ad_unit.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ pub struct AdUnit {
3636
/// user address from the session
3737
pub owner: ValidatorId,
3838
/// number, UTC timestamp in milliseconds, used as nonce for escaping duplicated spec ipfs hashes
39-
#[serde(with = "ts_milliseconds")]
4039
pub created: DateTime<Utc>,
4140
/// the name of the unit used in platform UI
4241
pub title: Option<String>,
@@ -46,6 +45,5 @@ pub struct AdUnit {
4645
#[serde(default)]
4746
pub archived: bool,
4847
/// UTC timestamp in milliseconds, changed every time modifiable property is changed
49-
#[serde(default, with = "ts_milliseconds_option")]
5048
pub modified: Option<DateTime<Utc>>,
5149
}

0 commit comments

Comments
 (0)