Add 'api/v1/tv/top-rated' route'

This commit is contained in:
2025-11-21 16:51:39 +02:00
parent 65e7ff90bd
commit a3a7aa2474
6 changed files with 19 additions and 36 deletions

View File

@@ -124,7 +124,6 @@ func Handler(w http.ResponseWriter, r *http.Request) {
api.HandleFunc("/movies/popular", movieHandler.Popular).Methods("GET")
api.HandleFunc("/movies/top-rated", movieHandler.TopRated).Methods("GET")
api.HandleFunc("/movies/upcoming", movieHandler.Upcoming).Methods("GET")
api.HandleFunc("/movies/now-playing", movieHandler.NowPlaying).Methods("GET")
api.HandleFunc("/movies/{id}", movieHandler.GetByID).Methods("GET")
// Unified prefixed routes
api.HandleFunc("/movie/{id}", unifiedHandler.GetMovie).Methods("GET")