New alert service
This commit is contained in:
@@ -310,7 +310,9 @@ class TenantServiceClient(BaseServiceClient):
|
||||
List of child tenant dictionaries
|
||||
"""
|
||||
try:
|
||||
result = await self.get("children", tenant_id=parent_tenant_id)
|
||||
# Use _make_request directly to avoid double tenant_id in URL
|
||||
# The gateway expects: /api/v1/tenants/{tenant_id}/children
|
||||
result = await self._make_request("GET", f"tenants/{parent_tenant_id}/children")
|
||||
if result:
|
||||
logger.info("Retrieved child tenants",
|
||||
parent_tenant_id=parent_tenant_id,
|
||||
|
||||
Reference in New Issue
Block a user