Add experimental fix

This commit is contained in:
janniks
2021-10-30 18:58:51 +02:00
parent 6a1af2ef70
commit 0f53b478c4

View File

@@ -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,
});