Skip to content

Commit b768291

Browse files
committed
minor fixes
1 parent f2e38a8 commit b768291

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

libs/aries-basic-controller/aries_basic_controller/aries_controller.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ class AriesAgentController:
4747

4848
admin_url: str
4949
is_multitenant: bool = False
50-
mediation: bool = False
5150
api_key: str = None
5251

5352
def __post_init__(self):
@@ -102,10 +101,9 @@ def __post_init__(self):
102101
self.admin_url,
103102
self.client_session)
104103

105-
if self.mediation:
106-
self.mediation = MediationController(
107-
self.admin_url,
108-
self.client_session)
104+
self.mediation = MediationController(
105+
self.admin_url,
106+
self.client_session)
109107

110108
self.schema = SchemaController(
111109
self.admin_url,

libs/aries-basic-controller/aries_basic_controller/aries_multitenant_controller.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ def __post_init__(self):
3535

3636
super().__post_init__()
3737

38-
if self.api_key:
39-
self.headers.update({"X-API-Key": self.api_key})
40-
4138
if self.tenant_jwt:
4239
self.headers.update(
4340
{'Authorization': 'Bearer ' + self.tenant_jwt,

0 commit comments

Comments
 (0)