Use capability-based module boundaries
This commit is contained in:
@@ -281,7 +281,7 @@ def _campaign_policy_context(session: Session, *, tenant_id: str, campaign_id: s
|
||||
|
||||
|
||||
def _legacy_tenant_settings(session: Session, tenant_id: str) -> dict[str, Any] | None:
|
||||
row = session.execute(text("select settings from tenancy_tenants where id = :tenant_id"), {"tenant_id": tenant_id}).first()
|
||||
row = session.execute(text("select settings from core_scopes where id = :tenant_id"), {"tenant_id": tenant_id}).first()
|
||||
return _json_object(row[0]) if row else None
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user