fix: position of method invocation (#2188)

* fix: move call to `checkUsrInUrl` outside the `if` branch

* chore: bundle update
This commit is contained in:
Vlad Stan 2023-12-20 15:16:35 +02:00 committed by GitHub
parent 165d7499ea
commit 81b70acf5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -571,9 +571,8 @@ window.windowMixin = {
)
this.g.extensions = extensions
await this.checkUsrInUrl()
}
await this.checkUsrInUrl()
}
}

View File

@ -1,6 +1,6 @@
// update cache version every time there is a new deployment
// so the service worker reinitializes the cache
const CACHE_VERSION = 96
const CACHE_VERSION = 97
const CURRENT_CACHE = `lnbits-${CACHE_VERSION}-`
const getApiKey = request => {