Skip to content

Commit

Permalink
add 'in_trash' property of a page
Browse files Browse the repository at this point in the history
  • Loading branch information
jjongguet committed Jul 13, 2024
1 parent 6b1eb8f commit a3edee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notion_client/api_endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def update(self, page_id: str, **kwargs: Any) -> SyncAsync[Any]:
return self.parent.request(
path=f"pages/{page_id}",
method="PATCH",
body=pick(kwargs, "in_trash", "properties", "icon", "cover"),
body=pick(kwargs, "in_trash", "archived", "properties", "icon", "cover"),
auth=kwargs.get("auth"),
)

Expand Down

0 comments on commit a3edee9

Please sign in to comment.