fix: test the desktop function of custom database

with platform function
This commit is contained in:
Jiaxin Peng
2024-08-31 00:00:09 +01:00
parent bc166d8db1
commit f282dde1b7
3 changed files with 102 additions and 45 deletions

View File

@@ -111,6 +111,9 @@ export async function uploadCommandCustom(
const {markDownData, nowFile, cover, customValues} = await getNowFileMarkdownContentCustom(app, dbDetails)
new Notice(`Start upload ${nowFile.basename}`);
console.log(`Start upload ${nowFile.basename}`);
if (markDownData) {
const {basename} = nowFile;