success response

This commit is contained in:
2025-11-23 21:05:59 +00:00
parent e14233208d
commit e705d175cb

View File

@@ -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) {