diff --git a/backend/services/spotify.go b/backend/services/spotify.go index e7e790f..6808d72 100644 --- a/backend/services/spotify.go +++ b/backend/services/spotify.go @@ -108,6 +108,7 @@ func RefreshClient(auth *spotifyauth.Authenticator, token *oauth2.Token) (*spoti if err != nil { return nil, err } + SaveSpotifyToken(SPOTIFY_TOKEN_JSON_PATH, token) client := spotify.New(auth.Client(ctx, token))