diff --git a/Src/Notion.Client/Api/Databases/RequestParams/DatabasesUpdateParameters/PropertySchema/FilesUpdatePropertySchema.cs b/Src/Notion.Client/Api/Databases/RequestParams/DatabasesUpdateParameters/PropertySchema/FilesUpdatePropertySchema.cs index e9d3156e..c7b84218 100644 --- a/Src/Notion.Client/Api/Databases/RequestParams/DatabasesUpdateParameters/PropertySchema/FilesUpdatePropertySchema.cs +++ b/Src/Notion.Client/Api/Databases/RequestParams/DatabasesUpdateParameters/PropertySchema/FilesUpdatePropertySchema.cs @@ -5,7 +5,7 @@ namespace Notion.Client { public class FilesUpdatePropertySchema : UpdatePropertySchema, IUpdatePropertySchema { - [JsonProperty("file")] - public Dictionary File { get; set; } + [JsonProperty("files")] + public Dictionary Files { get; set; } } } diff --git a/Src/Notion.Client/Models/Database/Properties/FilesProperty.cs b/Src/Notion.Client/Models/Database/Properties/FilesProperty.cs index 3f37d82a..f52277c9 100644 --- a/Src/Notion.Client/Models/Database/Properties/FilesProperty.cs +++ b/Src/Notion.Client/Models/Database/Properties/FilesProperty.cs @@ -5,6 +5,6 @@ namespace Notion.Client public class FilesProperty : Property { public override PropertyType Type => PropertyType.Files; - public Dictionary File { get; set; } + public Dictionary Files { get; set; } } }