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

Update status property type behavior (#40)

Ref: https://developers.notion.com/changelog/changes-for-august-15-28-2022
This commit is contained in:
David Stotijn
2022-09-03 21:52:15 +02:00
committed by GitHub
parent a543e3936b
commit e399b8957d
2 changed files with 23 additions and 1 deletions

View File

@ -169,6 +169,8 @@ func (prop DatabasePageProperty) Value() interface{} {
return prop.Email
case DBPropTypePhoneNumber:
return prop.PhoneNumber
case DBPropTypeStatus:
return prop.Status
case DBPropTypeFormula:
return prop.Formula
case DBPropTypeRelation: