forked from firka/student-legacy
fix again
This commit is contained in:
parent
9e815aff2f
commit
47934620ea
@ -80,8 +80,8 @@ class KretaClient {
|
|||||||
_status.triggerRequest(res);
|
_status.triggerRequest(res);
|
||||||
|
|
||||||
if (res.statusCode == 401) {
|
if (res.statusCode == 401) {
|
||||||
await refreshLogin();
|
|
||||||
headerMap.remove("authorization");
|
headerMap.remove("authorization");
|
||||||
|
await refreshLogin();
|
||||||
} else {
|
} else {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user