This commit is contained in:
tangly1024
2022-05-09 14:57:42 +08:00
parent 58a64eb3f4
commit 35f51b037c

View File

@@ -35,7 +35,7 @@ async function getPageWithRetry(id, from, retryAttempts = 3) {
const authToken = BLOG.NOTION_ACCESS_TOKEN || null
const api = new NotionAPI({ authToken })
const pageData = await api.getPage(id)
console.info('[响应成功]:', `from:${from}`, `id:${id}`, pageData)
console.info('[响应成功]:', `from:${from}`, `id:${id}`)
return pageData
} catch (e) {
await delay(1000)