fix: de golmon
This commit is contained in:
parent
25721bdda8
commit
b5b54a98ba
@ -5,7 +5,7 @@ function extract_token(response)
|
||||
let cookies = response.headers.get("set-cookie");
|
||||
if (cookies == null)
|
||||
return null;
|
||||
token = cookies.slice(cookies.indexOf("=") + 1, cookies.indexOf(';'))
|
||||
let token = cookies.slice(cookies.indexOf("=") + 1, cookies.indexOf(';'))
|
||||
return token;
|
||||
}
|
||||
|
||||
@ -18,7 +18,7 @@ class Client
|
||||
this._token = undefined;
|
||||
}
|
||||
|
||||
get isAuthentificate()
|
||||
isAuthentificate()
|
||||
{
|
||||
return this.token != undefined;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user