diff --git a/apps/assets/api/accounts.py b/apps/assets/api/accounts.py index ecd397dd6..778916e64 100644 --- a/apps/assets/api/accounts.py +++ b/apps/assets/api/accounts.py @@ -40,7 +40,7 @@ class AccountFilterSet(BaseFilterSet): if not node_id: return qs node = get_object_or_404(Node, pk=node_id) - node_ids = node.get_children(with_self=True).values_list('id', flat=True) + node_ids = node.get_all_children(with_self=True).values_list('id', flat=True) node_ids = list(node_ids) qs = qs.filter(asset__nodes__in=node_ids) return qs diff --git a/apps/common/management/commands/services/command.py b/apps/common/management/commands/services/command.py index 230d59e10..170eb69ae 100644 --- a/apps/common/management/commands/services/command.py +++ b/apps/common/management/commands/services/command.py @@ -36,7 +36,7 @@ class Services(TextChoices): @classmethod def web_services(cls): - return [cls.gunicorn, cls.daphne] + return [cls.gunicorn, cls.daphne, cls.flower] @classmethod def celery_services(cls): @@ -44,7 +44,7 @@ class Services(TextChoices): @classmethod def task_services(cls): - return cls.celery_services() + [cls.beat, cls.flower] + return cls.celery_services() + [cls.beat] @classmethod def all_services(cls):