Skip to content

Commit

Permalink
Change search string and storage key for cache
Browse files Browse the repository at this point in the history
  • Loading branch information
karelhala committed Sep 15, 2020
1 parent 721bbe5 commit b43510c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/js/entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@ export function chromeInit(libjwt) {
.then(async () => {
const user = await libjwt.jwt.getUserInfo();
actions.userLogIn(user);
chromeCache = new CacheAdapter('chrome', `${decodeToken(libjwt.jwt.getEncodedToken())?.session_state}-chrome`);
chromeCache = new CacheAdapter(
'chrome-store',
`${decodeToken(libjwt.jwt.getEncodedToken())?.session_state}-chrome-store`
);
headerLoader();
})
.catch(() => {
Expand Down

0 comments on commit b43510c

Please sign in to comment.