fix: spotify state push

This commit is contained in:
trisua 2025-06-22 14:21:38 -04:00
parent efd4ac8104
commit 38ddf6cde1

View file

@ -286,6 +286,17 @@
return;
}
while (!ns(\"spotify\")) {
console.log(\"still no spotify\");
await (() => {
return new Promise((resolve) => {
setTimeout(() => {
resolve();
}, 500);
});
})();
}
window.spotify_init = true;
const client_id = \"{{ config.connections.spotify_client_id }}\";
let token = \"{{ user.connections.Spotify[0].data.token }}\";