fix: proper Spotify token refresh flow, refs: NOISSUE
This commit is contained in:
		@@ -139,7 +139,10 @@ public class SpotifyApiClient
 | 
			
		||||
            user.SpotifyAuthAccessToken = oAuthResponse.AccessToken;
 | 
			
		||||
            user.SpotifyAuthExpiresAfterSeconds = oAuthResponse.ExpiresIn;
 | 
			
		||||
            user.SpotifyAuthCreatedAt = oAuthResponse.CreatedAt;
 | 
			
		||||
            if (!string.IsNullOrEmpty(oAuthResponse.RefreshToken))
 | 
			
		||||
            {
 | 
			
		||||
                user.SpotifyAuthRefreshToken = oAuthResponse.RefreshToken;
 | 
			
		||||
            }
 | 
			
		||||
            return user.SpotifyAuthAccessToken;
 | 
			
		||||
        }
 | 
			
		||||
        catch (Exception ex)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user