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