File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed
libs/aries-basic-controller/aries_basic_controller Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ class AriesAgentController:
47
47
48
48
admin_url : str
49
49
is_multitenant : bool = False
50
- mediation : bool = False
51
50
api_key : str = None
52
51
53
52
def __post_init__ (self ):
@@ -102,10 +101,9 @@ def __post_init__(self):
102
101
self .admin_url ,
103
102
self .client_session )
104
103
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 )
109
107
110
108
self .schema = SchemaController (
111
109
self .admin_url ,
Original file line number Diff line number Diff line change @@ -35,9 +35,6 @@ def __post_init__(self):
35
35
36
36
super ().__post_init__ ()
37
37
38
- if self .api_key :
39
- self .headers .update ({"X-API-Key" : self .api_key })
40
-
41
38
if self .tenant_jwt :
42
39
self .headers .update (
43
40
{'Authorization' : 'Bearer ' + self .tenant_jwt ,
You can’t perform that action at this time.
0 commit comments