1
0
mirror of https://github.com/dstotijn/go-notion.git synced 2025-06-15 00:05:04 +02:00

Rename UpdatePageProps to UpdatePage

This commit is contained in:
David Stotijn
2021-12-22 14:33:58 +01:00
parent a14508d7c8
commit 57876f99e3
3 changed files with 6 additions and 5 deletions

View File

@ -79,8 +79,9 @@ type CreatePageParams struct {
Cover *Cover
}
// UpdatePageParams is used for updating a page. At least one field should have
// a non-empty value.
type UpdatePageParams struct {
// Either DatabasePageProperties, Title or Icon must be not nil.
DatabasePageProperties *DatabasePageProperties
Title []RichText
Icon *Icon