Skip to content
Snippets Groups Projects
Commit ccddf46d authored by meskio's avatar meskio :tent:
Browse files

Set an empty tocken, not null

parent 3072c108
Branches
Tags
No related merge requests found
......@@ -71,7 +71,7 @@ function renewToken(oldToken, setToken) {
})
.catch((error) => {
if (error instanceof ResponseError && error.response.status === 401) {
setToken(null);
setToken("");
} else {
console.log("Error renewing token: " + error.message);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment