File tree 1 file changed +0
-20
lines changed
1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change 59
59
<v-icon >mdi-spotify</v-icon >
60
60
Log Out
61
61
</v-btn >
62
- <!-- DEV FUNCTION: Invalidate token for easy 401 error testing -->
63
- <v-btn
64
- class =" ml-1"
65
- outlined
66
- rounded
67
- text
68
- v-on:click =" removeSpotifyToken()"
69
- >
70
- <v-icon >mdi-delete</v-icon >
71
- Remove token
72
- </v-btn >
73
62
</v-card-actions >
74
63
</v-card >
75
64
</v-scale-transition >
@@ -2348,15 +2337,6 @@ export default {
2348
2337
router .replace (" /Spotify" ).catch (()=> {})
2349
2338
router .go (0 )
2350
2339
},
2351
- // Remove Spotify token (for test purposes only)
2352
- removeSpotifyToken (){
2353
- // DEV FUNCTION //
2354
- // TODO: Deactivate this & the button when no longer needed
2355
- // Remove access token
2356
- localStorage .setItem (" spotify_access_token" , " " )
2357
- // Go to current location (to refresh/reload page)
2358
- router .go (0 )
2359
- },
2360
2340
// Once access token expires, use refresh token to get a new one
2361
2341
refreshSpotifyToken (){
2362
2342
let baseUrl = this .serverBaseURL
You can’t perform that action at this time.
0 commit comments