mirror of
https://github.com/dstotijn/go-notion.git
synced 2025-06-29 00:41:34 +02:00
Fix database page property mapping for select
and multi_select
This commit is contained in:
6
page.go
6
page.go
@ -40,9 +40,9 @@ 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