season: Fix routes

This commit is contained in:
IRHM
2025-11-14 02:58:48 +00:00
parent 2e53997f9e
commit 4596c34ffd
+2 -2
View File
@@ -27,8 +27,8 @@ func NewRouter(
func (r *Router) AddRoutes() {
season := r.br.Router.Group("/watched/season").Use(authmiddleware.AuthRequired(nil, r.br.Cfg))
season.POST("/season", r.AddWatchedSeason)
season.DELETE("/season/:id", r.DeleteWatchedSeason)
season.POST("", r.AddWatchedSeason)
season.DELETE(":id", r.DeleteWatchedSeason)
}
func (r *Router) AddWatchedSeason(c *gin.Context) {