Skip to content

Commit 60fadc2

Browse files
committed
Remove deprecated Text filter condition from PropertyFilter
1 parent 5734585 commit 60fadc2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

filter.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,7 @@ type TimestampFilter struct {
4545
func (f TimestampFilter) filter() {}
4646

4747
type PropertyFilter struct {
48-
Property string `json:"property"`
49-
// DEPRECATED: doesn't for ver. 2022-02-22
50-
Text *TextFilterCondition `json:"text,omitempty"`
48+
Property string `json:"property"`
5149
RichText *TextFilterCondition `json:"rich_text,omitempty"`
5250
Number *NumberFilterCondition `json:"number,omitempty"`
5351
Checkbox *CheckboxFilterCondition `json:"checkbox,omitempty"`

0 commit comments

Comments
 (0)