removed bad fatal log

This commit is contained in:
2025-11-22 11:44:25 +00:00
parent d9fceaf94a
commit b305a69fb5

View File

@@ -2,6 +2,7 @@ package handlers
import ( import (
"context" "context"
"log"
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
) )
@@ -9,6 +10,8 @@ import (
func (store *Store) ListeningTo(c *gin.Context) { func (store *Store) ListeningTo(c *gin.Context) {
ctx := context.Background() ctx := context.Background()
log.Default().Println("Tets")
playing, err := store.SpotifyClient.PlayerCurrentlyPlaying(ctx) playing, err := store.SpotifyClient.PlayerCurrentlyPlaying(ctx)
if err != nil { if err != nil {
c.JSON(500, gin.H{"error": err.Error()}) c.JSON(500, gin.H{"error": err.Error()})