feat: update article save

This commit is contained in:
hanif salafi 2025-02-13 22:54:36 +07:00
parent 84a678e499
commit ff67b72483
1 changed files with 2 additions and 3 deletions

View File

@ -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),
}
}