fix: correctly injecting UserService into ListHandler

This commit is contained in:
2026-08-21 22:05:43 +02:00
parent ff0fe5ff13
commit deee3e0d4f
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ func NewMux(cfg Config) http.Handler {
listRepo := repository.NewListRepo(cfg.Database)
listService := domain.NewListService(listRepo)
listHandler := handler.NewListHandler(listService)
listHandler := handler.NewListHandler(listService, userService)
protected := middleware.WithJWT(authService)