0
0
Fork 0

hotfix: refs #6930 Rollback tokenMultimedia

This commit is contained in:
Guillermo Bonet 2024-04-04 10:17:13 +02:00
parent 06af04a043
commit d98e5d78ff
1 changed files with 2 additions and 2 deletions

View File

@ -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 || '';
} }