Skip to content

Commit 079dc2f

Browse files
Merge pull request #140 from notion-dotnet/bfix/137-rename-file-property-to-files
Rename `file` property to `files` 🚚
2 parents db005a0 + 3b5f7aa commit 079dc2f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Src/Notion.Client/Api/Databases/RequestParams/DatabasesUpdateParameters/PropertySchema/FilesUpdatePropertySchema.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace Notion.Client
55
{
66
public class FilesUpdatePropertySchema : UpdatePropertySchema, IUpdatePropertySchema
77
{
8-
[JsonProperty("file")]
9-
public Dictionary<string, object> File { get; set; }
8+
[JsonProperty("files")]
9+
public Dictionary<string, object> Files { get; set; }
1010
}
1111
}

Src/Notion.Client/Models/Database/Properties/FilesProperty.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ namespace Notion.Client
55
public class FilesProperty : Property
66
{
77
public override PropertyType Type => PropertyType.Files;
8-
public Dictionary<string, object> File { get; set; }
8+
public Dictionary<string, object> Files { get; set; }
99
}
1010
}

0 commit comments

Comments
 (0)