removed bad fatal log
This commit is contained in:
@@ -2,6 +2,7 @@ package handlers
|
||||
|
||||
import (
|
||||
"context"
|
||||
"log"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
@@ -9,6 +10,8 @@ import (
|
||||
func (store *Store) ListeningTo(c *gin.Context) {
|
||||
ctx := context.Background()
|
||||
|
||||
log.Default().Println("Tets")
|
||||
|
||||
playing, err := store.SpotifyClient.PlayerCurrentlyPlaying(ctx)
|
||||
if err != nil {
|
||||
c.JSON(500, gin.H{"error": err.Error()})
|
||||
|
||||
Reference in New Issue
Block a user