Skip to content

Commit

Permalink
Update version to 0.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
jxpeng98 committed Nov 5, 2023
1 parent 75926a3 commit afec5d8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "share-to-notionnext",
"name": "Share to NotionNext",
"version": "0.2.4",
"version": "0.2.5",
"minAppVersion": "0.0.1",
"description": "Shares obsidian md file to notion with notion api for NotionNext web deploy, originally created by EasyChris/obsidian-to-notion.",
"author": "EasyChris, jxpeng98",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "share-to-notionnext",
"version": "0.2.4",
"version": "0.2.5",
"type": "module",
"description": "Shares obsidian md file to notion with notion api for NotionNext web deploy, originally created by EasyChris/obsidian-to-notion.",
"main": "main.js",
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
);

Expand Down
2 changes: 1 addition & 1 deletion src/upload/uploadCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
Expand Down

0 comments on commit afec5d8

Please sign in to comment.