[web-src] Remove debug logging to js console

This commit is contained in:
chme 2018-12-17 13:17:14 +01:00
parent e874276bdb
commit 4fdc2e26d4

View File

@ -165,13 +165,11 @@ export default {
this.$store.commit(types.UPDATE_SPOTIFY, data)
if (this.token_timer_id > 0) {
console.log('clear old timer: ' + this.token_timer_id)
window.clearTimeout(this.token_timer_id)
this.token_timer_id = 0
}
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)
console.log('new timer: ' + this.token_timer_id + ', expires in ' + data.webapi_token_expires_in + ' seconds')
}
})
}