Move all services to 1 domain (for isp-admin-ui)

This commit is contained in:
komissarovyv committed 2024-11-15 12:31:07 +03:00
1 parent 6337dbee16
commit 8e2cec1f11
1 file changed
+1 -1
+1 -1
View File
@@ -74,7 +74,7 @@ func (s Service) GetByDomainId(ctx context.Context, domainId int) ([]domain.Serv
}
func (s Service) CreateUpdate(ctx context.Context, req domain.ServiceCreateUpdateRequest) (*domain.Service, error) {
req.DomainId = 1 //temporary use only 1 domain, soon domain entity will be removed
req.DomainId = 1 // temporary use only 1 domain, soon domain entity will be removed
existed, err := s.serviceRep.GetServiceByNameAndDomainId(ctx, req.Name, req.DomainId)
switch {