Skip to content
This repository was archived by the owner on Aug 26, 2021. It is now read-only.

Commit c4e67e5

Browse files
committed
Fix get_collection_view() error
Fixes jamalex#301 - loadPageChunk API requires Page ID as an object - limit needs to be <= 100
1 parent c9223c0 commit c4e67e5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

notion/store.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,10 @@ def call_load_page_chunk(self, page_id):
276276
return
277277

278278
data = {
279-
"pageId": page_id,
280-
"limit": 100000,
279+
"page": {
280+
"id": page_id
281+
},
282+
"limit": 100,
281283
"cursor": {"stack": []},
282284
"chunkNumber": 0,
283285
"verticalColumns": False,

0 commit comments

Comments
 (0)