Translation system is still fucked up
This commit is contained in:
parent
c80eac9d5b
commit
42c5a3e665
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ async function login(loginUrl, username, password) {
|
|||
);
|
||||
const status = authResponse[0];
|
||||
const data = JSON.parse(authResponse[2]);
|
||||
const token = data.result.token;
|
||||
const {token} = data.result;
|
||||
try {
|
||||
if (status === 200) {
|
||||
cache.put(tokenCacheKey, token); // expiration -5 minutes
|
||||
|
|
Loading…
Add table
Reference in a new issue