mirror of
https://github.com/jxpeng98/obsidian-to-NotionNext
synced 2026-07-30 00:48:36 +08:00
Fixed delete old page
This commit is contained in:
@@ -86,7 +86,7 @@ export class Upload2Notion {
|
||||
const __content = yamlObj.__content
|
||||
const file2Block = markdownToBlocks(__content);
|
||||
const frontmasster =await app.metadataCache.getFileCache(nowFile)?.frontmatter
|
||||
const notionID = frontmasster ? frontmasster.notionId : null
|
||||
const notionID = frontmasster ? frontmasster.notionID : null
|
||||
|
||||
if(notionID){
|
||||
res = await this.updatePage(notionID, title, file2Block);
|
||||
|
||||
Reference in New Issue
Block a user