feat: remove blacklist api

This commit is contained in:
Simon Ding
2025-04-22 18:23:24 +08:00
parent fdcf7f487c
commit 834254b9b8
4 changed files with 19 additions and 0 deletions

View File

@@ -87,6 +87,7 @@ func (s *Server) Serve() error {
activity.POST("/delete", HttpHandler(s.RemoveActivity))
activity.GET("/media/:id", HttpHandler(s.GetMediaDownloadHistory))
activity.GET("/blacklist", HttpHandler(s.GetAllBlacklistItems))
activity.DELETE("/blacklist/:id", HttpHandler(s.RemoveBlacklistItem))
//activity.GET("/torrents", HttpHandler(s.GetAllTorrents))
}