From 8d98910a4a9c27ebd7e11ee210b2586465b41ec5 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Thu, 3 Nov 2022 12:25:31 +0100 Subject: [PATCH] Update SpotifyControls.plugin.js --- Plugins/SpotifyControls/SpotifyControls.plugin.js | 1 - 1 file changed, 1 deletion(-) diff --git a/Plugins/SpotifyControls/SpotifyControls.plugin.js b/Plugins/SpotifyControls/SpotifyControls.plugin.js index 6f87c966b2..dfd986565a 100644 --- a/Plugins/SpotifyControls/SpotifyControls.plugin.js +++ b/Plugins/SpotifyControls/SpotifyControls.plugin.js @@ -86,7 +86,6 @@ module.exports = (_ => { break; }; BDFDB.LibraryRequires.request(`https://api.spotify.com/v1/me/player${type ? "/" + type : ""}?${Object.entries(Object.assign({device_id: device.id}, data)).map(n => `${n[0]}=${n[1]}`).join("&")}`, {method: method, headers: {authorization: `Bearer ${socket.accessToken}`}}, (error, response, result) => { - console.log(response); if (response && response.statusCode == 401) { BDFDB.LibraryModules.SpotifyUtils.getAccessToken(socket.accountId).then(promiseResult => { let newSocketDevice = BDFDB.LibraryStores.SpotifyStore.getActiveSocketAndDevice();