Skip to content

Commit

Permalink
Enable force refresh of cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Talal-A committed Sep 5, 2024
1 parent f1271fb commit e372396
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ export default class ObsidianPaperless extends Plugin {
}
});

this.addCommand({
id: 'force-refresh-cache',
name: 'Refresh document cache',
callback: () => {
refreshCacheFromPaperless(this.settings);
}
});

this.addSettingTab(new SettingTab(this.app, this));
}

Expand Down

0 comments on commit e372396

Please sign in to comment.