mirror of
https://github.com/zhigang1992/notion-api-worker.git
synced 2026-01-12 17:32:42 +08:00
Add experimental fix
This commit is contained in:
@@ -129,12 +129,11 @@ export const fetchBlocks = async (
|
||||
return await fetchNotionData<LoadPageChunkData>({
|
||||
resource: "syncRecordValues",
|
||||
body: {
|
||||
recordVersionMap: {
|
||||
block: blockList.reduce((obj, blockId) => {
|
||||
obj[blockId] = -1;
|
||||
return obj;
|
||||
}, {} as { [key: string]: -1 }),
|
||||
},
|
||||
requests: blockList.map((id) => ({
|
||||
id,
|
||||
table: "block",
|
||||
version: -1,
|
||||
})),
|
||||
},
|
||||
notionToken,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user