mirror of
https://github.com/nathonius/obsidian-github-link.git
synced 2026-07-22 09:20:25 +00:00
🐛 fix: #84 Correct cache save
This commit is contained in:
parent
40aff6125a
commit
807d604a1d
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ export class GithubLinkPlugin extends Plugin {
|
|||
logger.debug("Checking if cache needs a save.");
|
||||
if (cache.cacheUpdated) {
|
||||
PluginData.cache = cache.toJSON();
|
||||
await this.saveData(PluginSettings);
|
||||
await this.saveData(PluginData);
|
||||
cache.cacheUpdated = false;
|
||||
logger.info(`Saved request cache with ${PluginData.cache?.length} items.`);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue