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 13:16:35 +00:00
committed by GitHub
parent 165d7499ea
commit 81b70acf5f
3 changed files with 3 additions and 4 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -2
View File
@@ -571,9 +571,8 @@ window.windowMixin = {
) )
this.g.extensions = extensions this.g.extensions = extensions
await this.checkUsrInUrl()
} }
await this.checkUsrInUrl()
} }
} }
+1 -1
View File
@@ -1,6 +1,6 @@
// update cache version every time there is a new deployment // update cache version every time there is a new deployment
// so the service worker reinitializes the cache // so the service worker reinitializes the cache
const CACHE_VERSION = 96 const CACHE_VERSION = 97
const CURRENT_CACHE = `lnbits-${CACHE_VERSION}-` const CURRENT_CACHE = `lnbits-${CACHE_VERSION}-`
const getApiKey = request => { const getApiKey = request => {