diff --git a/src/plugins/holynotes/utils.ts b/src/plugins/holynotes/utils.ts index 003a8cdd5..520fb2f28 100644 --- a/src/plugins/holynotes/utils.ts +++ b/src/plugins/holynotes/utils.ts @@ -13,7 +13,10 @@ import { HolyNotes } from "./types"; export async function saveCacheToDataStore(key: string, value?: HolyNotes.Note[]) { await DataStore.set(key, value); +} +export async function deleteCacheFromDataStore(key: string) { + await DataStore.del(key); } export async function getFormatedEntries() {