@@ -98,13 +98,13 @@ export class PlatformApiLogicClient extends PlatformApiRestClient {
98
98
const secretId = secret . id ;
99
99
const secretName = secret . attributes . name . trim ( ) ;
100
100
let componentIds : any = [ ] ;
101
- if ( secret . relationships . component ) componentIds . push ( secret . relationships . component . data . id )
101
+ if ( secret . relationships . component ) componentIds . push ( secret . relationships . component . data . id ) ;
102
102
if ( secret . relationships . auth_client ) {
103
103
const clientId = secret . relationships . auth_client . data . id ;
104
104
const clientResponse = await this . makeRequest ( { method : 'GET' , url : `/auth-clients/${ clientId } ` } ) ;
105
105
componentIds = clientResponse . relationships . components . data . map ( x => x . id ) ;
106
106
}
107
- resp . push ( { secretId, secretName, componentIds } )
107
+ resp . push ( { secretId, secretName, componentIds } ) ;
108
108
}
109
109
return resp ;
110
110
}
@@ -176,10 +176,7 @@ export class PlatformApiLogicClient extends PlatformApiRestClient {
176
176
const workspaces = await this . fetchWorkspaceList ( { } ) ;
177
177
if ( ! workspaceId ) {
178
178
const nonFlatFlows = await mapLimit ( workspaces , realSplitFactor ,
179
- async workspace => this . fetchAllFlowsForWorkspace ( {
180
- parallelCalls : parallelizationPerTask ,
181
- workspaceId : workspace . workspaceId ,
182
- } ) ) ;
179
+ async workspace => this . fetchAllFlowsForWorkspace ( { parallelCalls : parallelizationPerTask , workspaceId : workspace . workspaceId } ) ) ;
183
180
flows = nonFlatFlows . flat ( ) ;
184
181
} else {
185
182
flows = await this . fetchAllFlowsForWorkspace ( {
@@ -273,7 +270,7 @@ export class PlatformApiLogicClient extends PlatformApiRestClient {
273
270
/* eslint-disable-next-line no-param-reassign */
274
271
soFar [ contract . id ] = contract ;
275
272
return soFar ;
276
- } , { } ) ;
273
+ } , { } ) ;
277
274
278
275
const nonFlatWorkspaces = await mapLimit (
279
276
contracts ,
@@ -550,7 +547,7 @@ export class PlatformApiLogicClient extends PlatformApiRestClient {
550
547
/* eslint-disable-next-line no-param-reassign */
551
548
soFar [ sample . sampleId ] = sample . sample ;
552
549
return soFar ;
553
- } , { } ) ;
550
+ } , { } ) ;
554
551
flow . attributes . graph . nodes
555
552
. filter ( node => node . selected_data_samples )
556
553
. forEach ( ( node ) => {
0 commit comments