Skip to content

Commit

Permalink
Merge branch 'main' into issue-416-support-button-property
Browse files Browse the repository at this point in the history
  • Loading branch information
KoditkarVedant authored Oct 29, 2024
2 parents 609e04d + 6fc72b0 commit f0f595b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Src/Notion.Client/Models/File/FileObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ public abstract class FileObject : IPageIcon
[JsonProperty("caption")]
public IEnumerable<RichTextBase> Caption { get; set; }

[JsonProperty("name")]
public string Name { get; set; }

[JsonProperty("type")]
public virtual string Type { get; set; }
}
Expand Down
2 changes: 1 addition & 1 deletion Src/Notion.Client/NotionAPIErrorCode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ public enum NotionAPIErrorCode
DatabaseConnectionUnavailable,

[EnumMember(Value = "gateway_timeout")]
GetewayTimeout
GatewayTimeout
}
}

0 comments on commit f0f595b

Please sign in to comment.