mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-21 15:09:43 +00:00
fix page-cover-missing
This commit is contained in:
@@ -61,6 +61,7 @@ export async function getPageWithRetry(id, from, retryAttempts = 3) {
|
||||
const authToken = BLOG.NOTION_ACCESS_TOKEN || null
|
||||
const api = new NotionAPI({ authToken, userTimeZone: Intl.DateTimeFormat().resolvedOptions().timeZone })
|
||||
const pageData = await api.getPage(id)
|
||||
// console.log('stringfy', JSON.stringify(pageData))
|
||||
console.info('[响应成功]:', `from:${from}`)
|
||||
return pageData
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user