mirror of
https://github.com/dstotijn/go-notion.git
synced 2025-07-01 00:45:10 +02:00
Fix database page property mapping for select
and multi_select
This commit is contained in:
4
page.go
4
page.go
@ -41,8 +41,8 @@ type DatabasePageProperties map[string]DatabasePageProperty
|
|||||||
type DatabasePageProperty struct {
|
type DatabasePageProperty struct {
|
||||||
DatabaseProperty
|
DatabaseProperty
|
||||||
RichText []RichText `json:"rich_text"`
|
RichText []RichText `json:"rich_text"`
|
||||||
Select *SelectMetadata `json:"select"`
|
Select *SelectOptions `json:"select"`
|
||||||
MultiSelect []SelectMetadata `json:"multi_select"`
|
MultiSelect []SelectOptions `json:"multi_select"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// UnmarshalJSON implements json.Unmarshaler.
|
// UnmarshalJSON implements json.Unmarshaler.
|
||||||
|
Reference in New Issue
Block a user