There was an error while loading. Please reload this page.
1 parent b458c00 commit efde6a0Copy full SHA for efde6a0
1 file changed
src/store/index.ts
@@ -249,7 +249,7 @@ export const useBikeTagStore = defineStore(BikeTagDefaults.store, {
249
}
250
},
251
async fetchCredentials(fetchNewCredentials = false) {
252
- if ((!this.credentialsFetched && !this.token?.length) || fetchNewCredentials) {
+ if (!this.credentialsFetched || fetchNewCredentials) {
253
try {
254
const biketagConf = await client.fetchCredentials(`player-id ${this.profile.sub}`)
255
if (biketagConf?.biketag?.clientToken) {
0 commit comments