File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -479,17 +479,19 @@ export class IntegrationService implements Disposable {
479
479
SelfHostedIntegrationId . CloudGitHubEnterprise ,
480
480
) ;
481
481
if ( existingConfigured ?. length ) {
482
- const { domain } = existingConfigured [ 0 ] ;
483
- if ( domain == null ) throw new Error ( `Domain is required for '${ id } ' integration` ) ;
482
+ const { domain : configuredDomain } = existingConfigured [ 0 ] ;
483
+ if ( configuredDomain == null ) throw new Error ( `Domain is required for '${ id } ' integration` ) ;
484
484
integration = new (
485
485
await import ( /* webpackChunkName: "integrations" */ './providers/github' )
486
486
) . GitHubEnterpriseIntegration (
487
487
this . container ,
488
488
this . authenticationService ,
489
489
this . getProvidersApi . bind ( this ) ,
490
- domain ,
490
+ configuredDomain ,
491
491
id ,
492
492
) ;
493
+ // assign domain because it's part of caching key:
494
+ domain = configuredDomain ;
493
495
break ;
494
496
}
495
497
You can’t perform that action at this time.
0 commit comments