mirror of
https://github.com/jxpeng98/obsidian-to-NotionNext
synced 2026-07-29 16:35:57 +08:00
Update version to 0.2.5
This commit is contained in:
@@ -26,7 +26,7 @@ export default class ObsidianSyncNotionPlugin extends Plugin {
|
||||
async (evt: MouseEvent) => {
|
||||
// Called when the user clicks the icon.
|
||||
// await this.uploadCommand();
|
||||
this.commands.ribbonDisplay();
|
||||
await this.commands.ribbonDisplay();
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ export async function uploadCommandGeneral(
|
||||
const {basename} = nowFile;
|
||||
|
||||
const upload = new Upload2NotionGeneral(plugin);
|
||||
const res = await upload.syncMarkdownToNotionGeneral(basename, cover, tags, markDownData, nowFile, this.app, this.settings);
|
||||
const res = await upload.syncMarkdownToNotionGeneral(basename, cover, tags, markDownData, nowFile, this.app);
|
||||
|
||||
if (res.status === 200) {
|
||||
new Notice(`${i18nConfig["sync-success"]}${basename}`);
|
||||
|
||||
Reference in New Issue
Block a user