feat: add toggle watchlist on anime cards and improve dropdown

This commit is contained in:
2026-05-02 15:28:37 +02:00
committed by Mikkel Elvers
parent 94e60e0d8b
commit cc9ca1ba9e
14 changed files with 396 additions and 76 deletions

View File

@@ -46,7 +46,7 @@ func NewRouter(cfg Config) http.Handler {
authHandler := auth.NewHandler(cfg.AuthService)
watchlistSvc := watchlist.NewService(cfg.DB, cfg.SQLDB)
watchlistSvc := watchlist.NewService(cfg.DB, cfg.SQLDB, cfg.JikanClient)
watchlistHandler := watchlist.NewHandler(watchlistSvc)
middleware.InitAuth(cfg.AuthService)