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';
66import type { IntegrationAuthenticationSessionDescriptor } from '../../../integrations/authentication/integrationAuthentication' ;
77import type { ProviderAuthenticationSession } from '../../../integrations/authentication/models' ;
88
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 > =>
1919 wrapForForcedInsecureSSL (
2020 container . integrations . ignoreSSLErrors ( { id : id , domain : descriptor . domain } ) ,
2121 async ( ) => {
@@ -32,5 +32,4 @@ export async function getBuiltInIntegrationSession(
3232 } ;
3333 } ,
3434 ) ,
35- ) ( ) ;
36- }
35+ ) ;
You can’t perform that action at this time.
0 commit comments