Skip to content

Commit d829923

Browse files
committed
Refresh Token
~ Correct example Closes spotify-web-api-java#131.
1 parent 0bfd4bd commit d829923

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎examples/authorization/authorization_code/AuthorizationCodeRefreshExample.java‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,8 @@ public static void authorizationCodeRefresh_Async() {
4444

4545
final AuthorizationCodeCredentials authorizationCodeCredentials = authorizationCodeCredentialsFuture.get();
4646

47-
// Set access and refresh token for further "spotifyApi" object usage
47+
// Set access token for further "spotifyApi" object usage
4848
spotifyApi.setAccessToken(authorizationCodeCredentials.getAccessToken());
49-
spotifyApi.setRefreshToken(authorizationCodeCredentials.getRefreshToken());
5049

5150
System.out.println("Expires in: " + authorizationCodeCredentials.getExpiresIn());
5251
} catch (InterruptedException | ExecutionException e) {

0 commit comments

Comments
 (0)