finally fixed the damn refresh
This commit is contained in:
parent
d9fc1e4aa0
commit
54658b53ce
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue