From e705d175cb7102051741b5e0e1eaab0f10c15bb3 Mon Sep 17 00:00:00 2001 From: Adam French Date: Sun, 23 Nov 2025 21:05:59 +0000 Subject: [PATCH] success response --- backend/handlers/handle_spotify.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/backend/handlers/handle_spotify.go b/backend/handlers/handle_spotify.go index 49cdcfc..bb35a83 100644 --- a/backend/handlers/handle_spotify.go +++ b/backend/handlers/handle_spotify.go @@ -17,6 +17,12 @@ func (store *Store) CompleteAuth(c *gin.Context) { } store.SpotifyToken = token + c.JSON(http.StatusOK, gin.H{ + "message": "Authentication successful", + "token": token.AccessToken, + "type": token.TokenType, + "expiry": token.Expiry, + }) } // func (store *Store) ListeningTo(c *gin.Context) {