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 {
|
||||
DatabaseProperty
|
||||
RichText []RichText `json:"rich_text"`
|
||||
Select *SelectMetadata `json:"select"`
|
||||
MultiSelect []SelectMetadata `json:"multi_select"`
|
||||
RichText []RichText `json:"rich_text"`
|
||||
Select *SelectOptions `json:"select"`
|
||||
MultiSelect []SelectOptions `json:"multi_select"`
|
||||
}
|
||||
|
||||
// UnmarshalJSON implements json.Unmarshaler.
|
||||
|
Reference in New Issue
Block a user