Skip to content

Commit

Permalink
Adding "after" parameter to children endpoint (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
timo-codecentric authored Sep 15, 2023
1 parent 1a8bdd4 commit d6266a4
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 @@ -23,7 +23,7 @@ def append(self, block_id: str, **kwargs: Any) -> SyncAsync[Any]:
return self.parent.request(
path=f"blocks/{block_id}/children",
method="PATCH",
body=pick(kwargs, "children"),
body=pick(kwargs, "children", "after"),
auth=kwargs.get("auth"),
)

Expand Down

0 comments on commit d6266a4

Please sign in to comment.