Skip to content

Commit

Permalink
text should be rich_text (#232)
Browse files Browse the repository at this point in the history
Co-authored-by: yangyue1 <yangyue1@eversec.cn>
  • Loading branch information
yangxinyi-bigdata and yangyue1 committed Feb 22, 2024
1 parent 81dae7a commit d5e5f5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/first_project/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
results = notion.databases.query(
**{
"database_id": database_id,
"filter": {"property": "Name", "text": {"contains": name}},
"filter": {"property": "Name", "rich_text": {"contains": name}},
}
).get("results")

Expand Down

0 comments on commit d5e5f5c

Please sign in to comment.