Update department etc
This commit is contained in:
+2
-1
@@ -338,7 +338,7 @@ func (a *App) initServices(processors *processors, repos *repositories, cfg *con
|
||||
|
||||
rbacSvc := service.NewRBACService(repos.rbacRepo)
|
||||
|
||||
masterSvc := service.NewMasterService(repos.labelRepo, repos.priorityRepo, repos.institutionRepo, repos.dispRepo, repos.departmentRepo)
|
||||
masterSvc := service.NewMasterService(repos.labelRepo, repos.priorityRepo, repos.institutionRepo, repos.dispRepo, repos.departmentRepo, cfg)
|
||||
|
||||
txManager := repository.NewTxManager(a.db)
|
||||
letterSvc := service.NewLetterService(
|
||||
@@ -349,6 +349,7 @@ func (a *App) initServices(processors *processors, repos *repositories, cfg *con
|
||||
processors.activityLogger,
|
||||
processors.letterDispositionProcessor,
|
||||
processors.notificationProcessor,
|
||||
processors.activityLogger,
|
||||
)
|
||||
dispRouteSvc := service.NewDispositionRouteService(repos.dispositionRouteRepo)
|
||||
letterOutgoingSvc := service.NewLetterOutgoingService(processors.letterOutgoingProcessor)
|
||||
|
||||
Reference in New Issue
Block a user