Skip to content

Commit

Permalink
style: remove console logs, adjust some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jonashcroft committed Aug 8, 2021
1 parent e9fbad2 commit 9ce58f3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
9 changes: 4 additions & 5 deletions src/components/Authorise.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,10 @@ export default {
*/
this.getUrlAuthCode()
/**
* Refresh token already exists - we must get a new one.
*/
if (this.auth.refreshToken) {
window.console.log(
'refresh token exists, means we need to ask for a new one'
)
this.requestAccessTokens('refresh_token')
}
},
Expand All @@ -70,7 +69,7 @@ export default {
/**
* Check to see if the URL contains an auth code
* returned after the user grants consent from Spotify
* returned after the user grants consent from Spotify.
*/
getUrlAuthCode() {
const urlAuthCode = currentParams.get('code')
Expand Down
1 change: 0 additions & 1 deletion src/components/NowPlaying.vue
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ export default {
this.playerResponse.error?.status === 401 ||
this.playerResponse.error?.status === 400
) {
window.console.log('throw error')
this.handleExpiredToken()
return
Expand Down
3 changes: 2 additions & 1 deletion src/utils/props.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/**
* Util: Props
* Helper file to keep consistent props across all components.
* - Helper file to keep consistent props across all components.
* -----------------------------------------------------------------------------
*/
export default {
msg: {
Expand Down
5 changes: 3 additions & 2 deletions src/utils/utils.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/**
* Util: Utilities
* Global functions that can be used across multiple files.
* Utils: Utilities.
* - Global functions that can be used across multiple files.
* -----------------------------------------------------------------------------
*/

/**
Expand Down

0 comments on commit 9ce58f3

Please sign in to comment.