added logout section

This commit is contained in:
2025-12-10 01:41:31 +00:00
parent 932cf329e5
commit 9a0c054968
2 changed files with 22 additions and 0 deletions

View File

@@ -59,6 +59,7 @@ func main() {
r.POST("/auth/login", store.Login)
r.POST("/auth/refresh", store.RefreshToken)
r.GET("/auth/check", store.CheckToken)
r.POST("/auth/logout", store.Logout)
r.GET("/spotify/callback", store.CompleteSpotifyAuth)
r.GET("/spotify/listening", store.ListeningTo)