Skip to content

Commit

Permalink
change route for playlist microservice
Browse files Browse the repository at this point in the history
  • Loading branch information
MatiXxD committed Dec 12, 2024
1 parent f54194f commit 398f264
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion microservices/playlist/delivery/http/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func BindRoutes(s *httpServer.Server, userClient userService.UserServiceClient)

s.MUX.HandleFunc("/api/v1/playlists/{playlistId:[0-9]+}", playlistHandleres.GetPlaylist).Methods("GET")

s.MUX.HandleFunc("/api/v1/users/{userId:[0-9a-fA-F-]+}/playlists", playlistHandleres.GetUserPlaylists).Methods("GET")
s.MUX.HandleFunc("/api/v1/playlists/{userId:[0-9a-fA-F-]+}/allPlaylists", playlistHandleres.GetUserPlaylists).Methods("GET")

s.MUX.Handle(
"/api/v1/playlists/{playlistId:[0-9]+}/tracks",
Expand Down

0 comments on commit 398f264

Please sign in to comment.