Skip to content

Commit 21373f1

Browse files
committed
Hotfix for cache issue
1 parent f7072ca commit 21373f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/api.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ export class Trope {
3535
}
3636

3737
private async getFromCache() {
38-
return storage.getItem<Trope>(`local:${this.storageKey}`);
38+
return storage.getItem<Trope>(`local:${this.storageKey}-v1`);
3939
}
4040

4141
private async setToCache() {
42-
storage.setItem(`local:${this.storageKey}`, this);
42+
storage.setItem(`local:${this.storageKey}-v1`, this);
4343
}
4444

4545
/* Fetches a statically calculated url of there the laconic should be */

0 commit comments

Comments
 (0)