diff --git a/app/module/articles/controller/controller.go b/app/module/articles/controller/controller.go index c64cbe5..4208b7d 100644 --- a/app/module/articles/controller/controller.go +++ b/app/module/articles/controller/controller.go @@ -1,7 +1,6 @@ package controller import ( - "github.com/rs/zerolog" "go-humas-be/app/module/articles/service" ) @@ -9,8 +8,8 @@ type Controller struct { Articles ArticlesController } -func NewController(ArticlesService service.ArticlesService, log zerolog.Logger) *Controller { +func NewController(ArticlesService service.ArticlesService) *Controller { return &Controller{ - Articles: NewArticlesController(ArticlesService, log), + Articles: NewArticlesController(ArticlesService), } }