diff --git a/core/lib/internally/monthly_orders/service.go b/core/lib/internally/monthly_orders/service.go index 97c58dc..2d012c5 100644 --- a/core/lib/internally/monthly_orders/service.go +++ b/core/lib/internally/monthly_orders/service.go @@ -73,8 +73,6 @@ func (s *MonthlyOrderService) GetMyOrderData(ctx context.Context, managerID uint return nil, err } - logrus.Info("🛑 GET SETTINGS ") - isLocked := true if settings != nil && settings.DeadlineDate != nil { // Открыто с 15-го числа И до дедлайна включительно diff --git a/service/rest_admin_service/handlers/monthly_orders/routes.go b/service/rest_admin_service/handlers/monthly_orders/routes.go index be913fe..89f39f1 100644 --- a/service/rest_admin_service/handlers/monthly_orders/routes.go +++ b/service/rest_admin_service/handlers/monthly_orders/routes.go @@ -252,6 +252,8 @@ func (s *MonthlyOrdersReg) GetMatrixHandler(w http.ResponseWriter, r *http.Reque targetManagerID = *user.ID } + logrus.Info("🛑 MANAGER 2") + if s.moService == nil { return nil, errors.New("сервис заказов не инициализирован (отсутствуют ключи Google)") }