mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-13 16:03:23 -05:00
[web-src] Remove debug logging to js console
This commit is contained in:
parent
e874276bdb
commit
4fdc2e26d4
@ -165,13 +165,11 @@ export default {
|
|||||||
this.$store.commit(types.UPDATE_SPOTIFY, data)
|
this.$store.commit(types.UPDATE_SPOTIFY, data)
|
||||||
|
|
||||||
if (this.token_timer_id > 0) {
|
if (this.token_timer_id > 0) {
|
||||||
console.log('clear old timer: ' + this.token_timer_id)
|
|
||||||
window.clearTimeout(this.token_timer_id)
|
window.clearTimeout(this.token_timer_id)
|
||||||
this.token_timer_id = 0
|
this.token_timer_id = 0
|
||||||
}
|
}
|
||||||
if (data.webapi_token_expires_in > 0 && data.webapi_token) {
|
if (data.webapi_token_expires_in > 0 && data.webapi_token) {
|
||||||
this.token_timer_id = window.setTimeout(this.update_spotify, 1000 * data.webapi_token_expires_in)
|
this.token_timer_id = window.setTimeout(this.update_spotify, 1000 * data.webapi_token_expires_in)
|
||||||
console.log('new timer: ' + this.token_timer_id + ', expires in ' + data.webapi_token_expires_in + ' seconds')
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user