[web] Fix for services store

This commit is contained in:
Alain Nussbaumer 2025-05-17 11:03:47 +02:00
parent 3b336657d4
commit 8bc8a2c9d8

View File

@ -15,7 +15,7 @@ export const useServicesStore = defineStore('ServicesStore', {
}
if (data.webapi_token_expires_in > 0 && data.webapi_token) {
this.spotifyTimerId = setTimeout(
() => this.updateSpotify(),
() => this.initialiseSpotify(),
1000 * data.webapi_token_expires_in
)
}