diff --git a/main.ts b/main.ts index e3e6f5f..22ab0fd 100644 --- a/main.ts +++ b/main.ts @@ -84,7 +84,7 @@ export default class NoteSyncPlugin extends Plugin { if(!tfile){return} let mcache = this.app.metadataCache.getFileCache(tfile); - let ctx = await this.app.vault.cachedRead(tfile) + let ctx = await this.app.vault.read(tfile); let fm: { [key: string]: any } = {}; if(mcache && mcache['frontmatter']){ diff --git a/manifest.json b/manifest.json index ebc82d0..ce42613 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "note-sync", "name": "Note Sync", - "version": "0.5.1", + "version": "0.5.2", "minAppVersion": "1.8.3", "description": "Sync notes or plugins between vaults.", "author": "ZigHolding",