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.
2 parents 0aadecf + 022022d commit 830589fCopy full SHA for 830589f
src/commonMain/kotlin/com.adamratzman.spotify/endpoints/client/ClientPlayerApi.kt
@@ -159,7 +159,7 @@ public class ClientPlayerApi(api: GenericSpotifyApi) : SpotifyEndpoint(api) {
159
return try {
160
val obj =
161
catch {
162
- get(
+ getNullable(
163
endpointBuilder("/me/player/currently-playing")
164
.with("additional_types", additionalTypes.joinToString(",") { it.identifier })
165
.with("market", market?.name)
0 commit comments