缓存BUG

This commit is contained in:
tangly1024.com
2024-11-13 15:12:32 +08:00
parent 39e3fb4d13
commit 2b6cbff640

View File

@@ -63,7 +63,7 @@ export async function getSiteDataByPageId({ pageId, from }) {
// 获取NOTION原始数据此接支持mem缓存。
const pageRecordMap = await getPage(pageId, from)
// 将Notion数据按规则转成站点数据
const data = await converNotionToSiteDate(pageId, from, pageRecordMap)
const data = await converNotionToSiteDate(pageId, from, deepClone(pageRecordMap))
return data
}