aboutsummaryrefslogtreecommitdiff
path: root/src/models
diff options
context:
space:
mode:
authorGravatar Jake Swenson <jake@jakeswenson.com> 2021-05-14 07:38:03 -0700
committerGravatar Jake Swenson <jake@jakeswenson.com> 2021-05-14 07:38:03 -0700
commit7c069aede00bc1c57910fa2505fd5d0afe747c1c (patch)
treeefc3d413568c382c7ed78e4d98d33157fea71a5f /src/models
parent8a6ee9bca902db076be12745967a69c7c184e044 (diff)
downloadnotion-7c069aede00bc1c57910fa2505fd5d0afe747c1c.tar.gz
notion-7c069aede00bc1c57910fa2505fd5d0afe747c1c.tar.zst
notion-7c069aede00bc1c57910fa2505fd5d0afe747c1c.zip
files documentation issue
Diffstat (limited to 'src/models')
-rw-r--r--src/models/properties.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/models/properties.rs b/src/models/properties.rs
index cc59907..37c1a4e 100644
--- a/src/models/properties.rs
+++ b/src/models/properties.rs
@@ -79,6 +79,7 @@ pub enum PropertyConfiguration {
/// See https://developers.notion.com/reference/database#date-configuration
Date { id: PropertyId },
/// Represents a File Property
- /// See https://developers.notion.com/reference/database#date-configuration
- File { id: PropertyId },
+ /// See https://developers.notion.com/reference/database#file-configuration
+ /// Documentation issue: docs claim type name is `file` but it's is in fact `files`
+ Files { id: PropertyId },
}