mirror of
https://github.com/glomatico/votify.git
synced 2026-09-26 19:12:27 +02:00
Support 'me' nesting in user_profile
This commit is contained in:
@@ -42,6 +42,7 @@ class SpotifyApi:
|
||||
return (
|
||||
getattr(self, "user_profile", {})
|
||||
.get("data", {})
|
||||
.get("me", {})
|
||||
.get("account", {})
|
||||
.get("product")
|
||||
== "PREMIUM"
|
||||
|
||||
Reference in New Issue
Block a user