Skip to content

Commit 86f188a

Browse files
Rename file property to files 🚚
1 parent 657615d commit 86f188a

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)