From e1f3fc36c89cef17ef74a84407c78c038687f69b Mon Sep 17 00:00:00 2001 From: Tobias Gesellchen Date: Sun, 22 Feb 2026 00:07:52 +0100 Subject: [PATCH] Fix Spotify link display --- pkg/service/handlers/web/js/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/service/handlers/web/js/script.js b/pkg/service/handlers/web/js/script.js index a2f03c6..c3c0da3 100644 --- a/pkg/service/handlers/web/js/script.js +++ b/pkg/service/handlers/web/js/script.js @@ -20,7 +20,7 @@ async function fetchSpotifyStatus() { if (data.accounts && data.accounts.length > 0) { header.style.background = '#e6ffed'; header.style.border = '1px solid #28a745'; - nameEl.innerText = data.accounts[0].username; + nameEl.innerText = data.accounts[0].display_name || data.accounts[0].user_id || 'Linked'; if (linkBtn) linkBtn.style.display = 'none'; // Show Prime Spotify buttons on all devices