add more logs

This commit is contained in:
StarAppeal
2024-12-19 16:33:02 +01:00
parent a332b11431
commit be4b9f2aa3
@@ -61,6 +61,8 @@ export class GetSingleSpotifyUpdateEvent extends CustomWebsocketEvent {
console.log("Token refreshed and database updated");
}
const musicData = await getCurrentlyPlaying(user.spotifyConfig!.accessToken);
console.log("Sending Spotify update");
console.log(musicData);
this.ws.send(JSON.stringify({
type: "SPOTIFY_UPDATE",