mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-09 15:10:39 +00:00
日志
This commit is contained in:
@@ -35,7 +35,7 @@ async function getPageWithRetry(id, from, retryAttempts = 3) {
|
|||||||
const authToken = BLOG.NOTION_ACCESS_TOKEN || null
|
const authToken = BLOG.NOTION_ACCESS_TOKEN || null
|
||||||
const api = new NotionAPI({ authToken })
|
const api = new NotionAPI({ authToken })
|
||||||
const pageData = await api.getPage(id)
|
const pageData = await api.getPage(id)
|
||||||
console.info('[响应成功]:', `from:${from}`, `id:${id}`, pageData)
|
console.info('[响应成功]:', `from:${from}`, `id:${id}`)
|
||||||
return pageData
|
return pageData
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
await delay(1000)
|
await delay(1000)
|
||||||
|
|||||||
Reference in New Issue
Block a user