File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -312,6 +312,7 @@ def __init__(
312
312
313
313
self .__installation_authorization = None
314
314
self .__app_auth = app_auth
315
+ self .__base_url = base_url
315
316
316
317
self .__auth_lock = RLock ()
317
318
@@ -333,7 +334,6 @@ def __init__(
333
334
else :
334
335
self .__authorizationHeader = None
335
336
336
- self .__base_url = base_url
337
337
o = urllib .parse .urlparse (base_url )
338
338
self .__hostname = o .hostname
339
339
self .__port = o .port
@@ -375,7 +375,9 @@ def _must_refresh_token(self) -> bool:
375
375
def _get_installation_authorization (self ):
376
376
assert self .__app_auth is not None
377
377
integration = GithubIntegration .GithubIntegration (
378
- self .__app_auth .app_id , self .__app_auth .private_key
378
+ self .__app_auth .app_id ,
379
+ self .__app_auth .private_key ,
380
+ base_url = self .__base_url ,
379
381
)
380
382
return integration .get_access_token (
381
383
self .__app_auth .installation_id ,
You can’t perform that action at this time.
0 commit comments