From 0287a802264e2b63ae75515186c45cfb1ba88329 Mon Sep 17 00:00:00 2001 From: afterlifepro Date: Tue, 12 Aug 2025 23:09:12 +0100 Subject: [PATCH] Add top songs to scopes --- src/pages/_callback.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/_callback.astro b/src/pages/_callback.astro index a6de1cf..3952e1b 100644 --- a/src/pages/_callback.astro +++ b/src/pages/_callback.astro @@ -37,7 +37,7 @@ if (userAuthCode) { .catch((err) => console.error(err)); } -const href = `https://accounts.spotify.com/authorize?response_type=code&client_id=${SPOTIFY_CLIENT_ID}&scope=user-read-currently-playing&redirect_uri=${SPOTIFY_REDIRECT_URI}`; +const href = `https://accounts.spotify.com/authorize?response_type=code&client_id=${SPOTIFY_CLIENT_ID}&scope=user-read-currently-playing user-top-read&redirect_uri=${SPOTIFY_REDIRECT_URI}`; ---

-- 2.51.2