From dce6ae20823ad894840520b0f0154abce10830c4 Mon Sep 17 00:00:00 2001 From: awex 3 Date: Wed, 27 Apr 2022 08:49:31 -0400 Subject: [PATCH] Updated spotify state URL --- static/js/spotifyWidget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/spotifyWidget.js b/static/js/spotifyWidget.js index a89ab91..628a7ea 100644 --- a/static/js/spotifyWidget.js +++ b/static/js/spotifyWidget.js @@ -1,5 +1,5 @@ async function getState() { - const data = await fetch("https://api.thatalex.dev/v0/web/spotify/state", { + const data = await fetch("https://api.thatalex.dev/v0/web/spotify/player/state", { method: "GET" }).then(response => response.json()) .catch(function(response) {