working commit

This commit is contained in:
2026-06-06 17:49:33 +02:00
parent c96602e933
commit 0e303ef96a
12 changed files with 89 additions and 21 deletions
+4 -4
View File
@@ -13,7 +13,7 @@ import (
"mbase/app/config"
"mbase/app/maindb"
"mbase/pkg/descr"
"mbase/app/logic"
"mbase/app/operator"
"mbase/pkg/aux509"
"mbase/pkg/logger"
"mbase/pkg/netacl"
@@ -26,7 +26,7 @@ import (
type Server struct {
conf *config.Config
lg *logic.Logic
lg *operator.Logic
svc *service.Service
hand *handler.Handler
log *logger.Logger
@@ -176,10 +176,10 @@ func (srv *Server) Build() error {
return err
}
// Create logic
logicConfig := &logic.LogicConfig{
logicConfig := &operator.LogicConfig{
Database: srv.db,
}
srv.lg, err = logic.NewLogic(logicConfig)
srv.lg, err = operator.NewLogic(logicConfig)
if err != nil {
return err
}