Skip to content

Commit 11d9eca

Browse files
committed
Comment
1 parent c71fe8c commit 11d9eca

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/notion/getPostBlocks.js

+6
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ export async function getPostBlocks(id, from, slice) {
2727
return pageBlock
2828
}
2929

30+
/**
31+
* 针对在getDataBaseInfoByNotionAPI=>getPostBlocks中获取不到的溢出的block-id,用此方法另外抓取
32+
* @param {*} id
33+
* @param {*} from
34+
* @returns
35+
*/
3036
export async function getSingleBlock(id, from) {
3137
const cacheKey = 'single_block_' + id
3238
let pageBlock = await getDataFromCache(cacheKey)

0 commit comments

Comments
 (0)