aboutsummaryrefslogtreecommitdiff
path: root/src/models/properties.rs
diff options
context:
space:
mode:
authorGravatar Dmitry Gavrovsky <dmitrygavrovsky@gmail.com> 2021-12-18 02:02:46 +0200
committerGravatar GitHub <noreply@github.com> 2021-12-17 16:02:46 -0800
commitd689244ebcc6fa5a5f616f9c765189868355130e (patch)
treedcbf6c2d65ed58bb5236613e6d95bdbe0eb87f31 /src/models/properties.rs
parentb2367c397a1f4c3160b87f7189ec21061ee81b1e (diff)
downloadnotion-d689244ebcc6fa5a5f616f9c765189868355130e.tar.gz
notion-d689244ebcc6fa5a5f616f9c765189868355130e.tar.zst
notion-d689244ebcc6fa5a5f616f9c765189868355130e.zip
Url property can be null (#26)
* Url property can be null * removed comment in wrong place
Diffstat (limited to '')
-rw-r--r--src/models/properties.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/models/properties.rs b/src/models/properties.rs
index f7e3897..d04873e 100644
--- a/src/models/properties.rs
+++ b/src/models/properties.rs
@@ -308,7 +308,7 @@ pub enum PropertyValue {
},
Url {
id: PropertyId,
- url: String,
+ url: Option<String>,
},
Email {
id: PropertyId,