Fixes: Document not added to structure

Cache key bump
This commit is contained in:
Tom Moor
2018-02-28 23:21:29 -08:00
parent 871e6918e8
commit c80ae1bdd6
2 changed files with 4 additions and 2 deletions

View File

@@ -3,9 +3,10 @@ import localForage from 'localforage';
class CacheStore {
key: string;
version: number = 1;
cacheKey = (key: string): string => {
return `CACHE_${this.key}_${key}`;
return `CACHE_${this.key}_${this.version}_${key}`;
};
getItem = (key: string): any => {