mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-07 01:47:47 +08:00
fix(frontend): resolve ESLint issues
This commit is contained in:
@@ -392,8 +392,7 @@ class ApiClient {
|
||||
|
||||
this.isRefreshing = true
|
||||
const requestAuthStateVersion = this.authStateVersion
|
||||
let restorePromise!: Promise<string>
|
||||
restorePromise = (async () => {
|
||||
const restorePromise = (async () => {
|
||||
const accessToken = await this.coordinatedRefresh()
|
||||
if (requestAuthStateVersion !== this.authStateVersion) {
|
||||
throw new Error('Auth state changed during session restore')
|
||||
|
||||
Reference in New Issue
Block a user