Custom: use node-fetch to post notes rather than requestUrl for better debug

This commit is contained in:
2024-07-27 23:36:00 +01:00
parent b5ac42e6e3
commit e9c2b4aada
4 changed files with 202 additions and 165 deletions

View File

@@ -11,7 +11,7 @@ export async function updateYamlInfo(
plugin: ObsidianSyncNotionPlugin,
dbDetails: DatabaseDetails,
) {
let { url, id } = res.json
let { url, id } = res;
// replace www to notionID
const { notionUser, NotionLinkDisplay } = plugin.settings;
const { abName } = dbDetails