diff --git a/internal/web/router/router.go b/internal/web/router/router.go index 6f9fcc1..d568380 100644 --- a/internal/web/router/router.go +++ b/internal/web/router/router.go @@ -32,7 +32,7 @@ func NewService(i *do.Injector) (Service, error) { srv.logger = do.MustInvoke[log.Service](i) conf := do.MustInvoke[config.Service](i).GetConfig() - srv.initRouters(conf, i) + srv.engine = srv.initRouters(conf, i) return srv, srv.err }