mirror of
https://github.com/jxpeng98/obsidian-to-NotionNext
synced 2026-07-29 08:08:34 +08:00
Merge branch 'master' into add-button
This commit is contained in:
@@ -287,6 +287,7 @@ export class Upload2NotionNext extends UploadBaseNext {
|
||||
file2Block
|
||||
);
|
||||
}
|
||||
|
||||
if (res.status === 200) {
|
||||
await updateYamlInfo(markdown, nowFile, res, app, this.plugin, this.dbDetails)
|
||||
} else {
|
||||
|
||||
@@ -13,6 +13,7 @@ export async function getNowFileMarkdownContentNext(
|
||||
let type = '';
|
||||
let slug = '';
|
||||
let stats = '';
|
||||
let status = '';
|
||||
let category = '';
|
||||
let summary = '';
|
||||
let paword = '';
|
||||
@@ -26,7 +27,7 @@ export async function getNowFileMarkdownContentNext(
|
||||
tags = FileCache.frontmatter.tags;
|
||||
type = FileCache.frontmatter.type;
|
||||
slug = FileCache.frontmatter.slug;
|
||||
stats = FileCache.frontmatter.stats;
|
||||
stats = FileCache.frontmatter.stats || FileCache.frontmatter.status;
|
||||
category = FileCache.frontmatter.category;
|
||||
summary = FileCache.frontmatter.summary;
|
||||
paword = FileCache.frontmatter.password;
|
||||
|
||||
Reference in New Issue
Block a user