From 23a8fa267a94b8766db8908e45c26a7487a7e12b Mon Sep 17 00:00:00 2001 From: 0xb10c Date: Thu, 1 Jun 2023 13:48:24 +0200 Subject: [PATCH] fix: column_url is sometimes not set This would result in failing deserialization --- src/models.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/models.rs b/src/models.rs index 48980acd..a40a7302 100644 --- a/src/models.rs +++ b/src/models.rs @@ -321,7 +321,8 @@ pub struct ProjectCard { pub column_name: Option, #[serde(skip_serializing_if = "Option::is_none")] pub previous_column_name: Option, - pub column_url: Url, + #[serde(skip_serializing_if = "Option::is_none")] + pub column_url: Option, } #[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize)]