maybe fix token spam

This commit is contained in:
Zypherift 2024-06-14 15:05:17 +02:00
parent d8393b24e1
commit 9e815aff2f

View File

@ -212,8 +212,8 @@ class KretaClient {
res = await request.send();
if (res.statusCode == 401) {
headerMap.remove("authorization");
await refreshLogin();
headerMap.remove("authorization");
} else {
break;
}