From 54c4b6cd67c7f8190dc7dfb4da6ad99dc2101c82 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 14 Nov 2018 18:52:48 -0800 Subject: fix date/datetime confusion on rust/API side Should have dug in to this earlier; python code was getting confused. This is a breaking API change, from a practical standpoint, as both python and rust code had been hacked to work around this. --- rust/fatcat-api-spec/src/models.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/fatcat-api-spec/src') diff --git a/rust/fatcat-api-spec/src/models.rs b/rust/fatcat-api-spec/src/models.rs index ed37b58a..73418c45 100644 --- a/rust/fatcat-api-spec/src/models.rs +++ b/rust/fatcat-api-spec/src/models.rs @@ -536,7 +536,7 @@ pub struct ReleaseEntity { #[serde(rename = "release_date")] #[serde(skip_serializing_if = "Option::is_none")] - pub release_date: Option>, + pub release_date: Option, #[serde(rename = "release_status")] #[serde(skip_serializing_if = "Option::is_none")] -- cgit v1.2.3