We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 507416f commit 153f23bCopy full SHA for 153f23b
src/commonMain/kotlin/com.adamratzman.spotify/SpotifyApi.kt
@@ -644,7 +644,7 @@ public open class SpotifyClientApi(
644
if (token.scopes == null) {
645
null
646
} else {
647
- !isTokenValid(false).isValid &&
+ isTokenValid(false).isValid &&
648
token.scopes?.contains(scope) == true &&
649
scopes.all { token.scopes?.contains(it) == true }
650
}
0 commit comments