Skip to content

Commit

Permalink
Merge pull request #140 from notion-dotnet/bfix/137-rename-file-prope…
Browse files Browse the repository at this point in the history
…rty-to-files

Rename `file` property to `files` 🚚
  • Loading branch information
KoditkarVedant authored Oct 1, 2021
2 parents db005a0 + 3b5f7aa commit 079dc2f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace Notion.Client
{
public class FilesUpdatePropertySchema : UpdatePropertySchema, IUpdatePropertySchema
{
[JsonProperty("file")]
public Dictionary<string, object> File { get; set; }
[JsonProperty("files")]
public Dictionary<string, object> Files { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ namespace Notion.Client
public class FilesProperty : Property
{
public override PropertyType Type => PropertyType.Files;
public Dictionary<string, object> File { get; set; }
public Dictionary<string, object> Files { get; set; }
}
}

0 comments on commit 079dc2f

Please sign in to comment.