adding recently played endpoint

This commit is contained in:
2025-11-29 00:30:34 +00:00
parent a776c852b2
commit 160dd24bf2
3 changed files with 13 additions and 25 deletions

View File

@@ -50,7 +50,8 @@ func main() {
r.POST("/refresh", store.RefreshToken)
r.GET("/callback", store.CompleteSpotifyAuth)
r.GET("/spotify", store.ListeningTo)
r.GET("/spotify/listening", store.ListeningTo)
r.GET("/spotify/recent", store.RecentlyPlayed)
// r.POST("/spotify", store.SendSong)
r.GET("/", func(c *gin.Context) {