feat: add series delete feature

This commit is contained in:
Simon Ding
2024-07-13 17:50:19 +08:00
parent 85f8750908
commit 670fc16abe
6 changed files with 68 additions and 13 deletions

View File

@@ -62,6 +62,7 @@ func (s *Server) Serve() error {
tv.POST("/watchlist", HttpHandler(s.AddWatchlist))
tv.GET("/watchlist", HttpHandler(s.GetWatchlist))
tv.GET("/series/:id", HttpHandler(s.GetTvDetails))
tv.DELETE("/series/:id", HttpHandler(s.DeleteFromWatchlist))
tv.GET("/resolutions", HttpHandler(s.GetAvailableResolutions))
}
indexer := api.Group("/indexer")