File tree Expand file tree Collapse file tree 1 file changed +11
-12
lines changed
src/plus/gk/utils/-webview Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -6,16 +6,16 @@ import { sequentialize } from '../../../../system/function';
6
6
import type { IntegrationAuthenticationSessionDescriptor } from '../../../integrations/authentication/integrationAuthentication' ;
7
7
import type { ProviderAuthenticationSession } from '../../../integrations/authentication/models' ;
8
8
9
- export async function getBuiltInIntegrationSession (
10
- container : Container ,
11
- id : IntegrationId ,
12
- descriptor : IntegrationAuthenticationSessionDescriptor ,
13
- options ?:
14
- | { createIfNeeded : true ; silent ?: never ; forceNewSession ?: never }
15
- | { createIfNeeded ?: never ; silent : true ; forceNewSession ?: never }
16
- | { createIfNeeded ?: never ; silent ?: never ; forceNewSession : true } ,
17
- ) : Promise < ProviderAuthenticationSession | undefined > {
18
- return sequentialize ( ( ) =>
9
+ export const getBuiltInIntegrationSession = sequentialize (
10
+ (
11
+ container : Container ,
12
+ id : IntegrationId ,
13
+ descriptor : IntegrationAuthenticationSessionDescriptor ,
14
+ options ?:
15
+ | { createIfNeeded : true ; silent ?: never ; forceNewSession ?: never }
16
+ | { createIfNeeded ?: never ; silent : true ; forceNewSession ?: never }
17
+ | { createIfNeeded ?: never ; silent ?: never ; forceNewSession : true } ,
18
+ ) : Promise < ProviderAuthenticationSession | undefined > =>
19
19
wrapForForcedInsecureSSL (
20
20
container . integrations . ignoreSSLErrors ( { id : id , domain : descriptor . domain } ) ,
21
21
async ( ) => {
@@ -32,5 +32,4 @@ export async function getBuiltInIntegrationSession(
32
32
} ;
33
33
} ,
34
34
) ,
35
- ) ( ) ;
36
- }
35
+ ) ;
You can’t perform that action at this time.
0 commit comments