From 31e81363ac6cbda247beee856d08dbc1ee02ee2f Mon Sep 17 00:00:00 2001 From: Liam Date: Fri, 28 Jun 2024 03:56:34 +0100 Subject: [PATCH] pls --- .../java/cc/fascinated/bat/service/SpotifyService.java | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/main/java/cc/fascinated/bat/service/SpotifyService.java b/src/main/java/cc/fascinated/bat/service/SpotifyService.java index 661e191..de8fea3 100644 --- a/src/main/java/cc/fascinated/bat/service/SpotifyService.java +++ b/src/main/java/cc/fascinated/bat/service/SpotifyService.java @@ -72,15 +72,7 @@ public class SpotifyService { .build(); this.authorizationUrl = spotifyApi.authorizationCodeUri() .response_type("code") - .scope( - AuthorizationScope.APP_REMOTE_CONTROL, - AuthorizationScope.USER_READ_PLAYBACK_POSITION, - AuthorizationScope.USER_READ_PLAYBACK_STATE, - AuthorizationScope.USER_MODIFY_PLAYBACK_STATE, - AuthorizationScope.USER_READ_CURRENTLY_PLAYING, - AuthorizationScope.APP_REMOTE_CONTROL, - AuthorizationScope.STREAMING - ) + .scope(AuthorizationScope.values()) .build().execute().toString(); }