refactor: remove global auth service pattern

This commit is contained in:
2026-05-10 18:13:14 +02:00
parent 1504f6f473
commit c51382055b
2 changed files with 0 additions and 45 deletions

View File

@@ -68,8 +68,6 @@ func NewRouter(cfg Config) http.Handler {
watchlistSvc := watchlist.NewService(cfg.DB, cfg.SQLDB, cfg.JikanClient)
watchlistHandler := watchlist.NewHandler(watchlistSvc)
middleware.InitAuth(cfg.AuthService)
animeSvc := anime.NewService(cfg.JikanClient, cfg.DB)
animeHandler := anime.NewHandler(animeSvc)