finally fixed the damn refresh

This commit is contained in:
CatAClock 2025-06-01 16:52:41 -07:00
parent d9fc1e4aa0
commit 54658b53ce

View file

@ -579,6 +579,7 @@ async function HandleError(body, header) {
await localStorage.setItem(Variables.BlueskyNonce, header);
if (body.message != undefined && body.message.includes("claim timestamp check failed")) {
await RefreshTokens();
Token = localStorage.getItem(Variables.BlueskyAccessToken);
}
}