Skip to content
Snippets Groups Projects
Commit 4367aaf3 authored by Israel Barreto Sant'Anna's avatar Israel Barreto Sant'Anna
Browse files

Remove json parse from getNewAccessToken to fix error

parent 0ab40af3
Branches
Tags
2 merge requests!69Fixed upload page: recaptcha not implemented, lack of blocking (part one, two,...,!61Fixed upload page: recaptcha not implemented, lack of blocking (part one, two,...
......@@ -83,7 +83,7 @@ function checkPreviousTokens (new_token) {
function getNewAccessToken (newAccessToken) {
if (!newAccessToken || newAccessToken.trim().length === 0) {
return JSON.parse(sessionStorage.getItem('@portalmec/accessToken'))
return sessionStorage.getItem('@portalmec/accessToken')
}
else {
return newAccessToken
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment