forked from verdnatura/salix-front
Merge branch 'dev' into 6894-invoiceInChangeFilters
This commit is contained in:
commit
59a631b19e
|
@ -14,8 +14,8 @@ export function useSession() {
|
||||||
return localToken || sessionToken || '';
|
return localToken || sessionToken || '';
|
||||||
}
|
}
|
||||||
function getTokenMultimedia() {
|
function getTokenMultimedia() {
|
||||||
const localTokenMultimedia = localStorage.getItem('tokenMultimedia');
|
const localTokenMultimedia = localStorage.getItem('token'); // Temporal
|
||||||
const sessionTokenMultimedia = sessionStorage.getItem('tokenMultimedia');
|
const sessionTokenMultimedia = sessionStorage.getItem('token'); // Temporal
|
||||||
|
|
||||||
return localTokenMultimedia || sessionTokenMultimedia || '';
|
return localTokenMultimedia || sessionTokenMultimedia || '';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue