File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -84,11 +84,13 @@ export async function clearCredentialRefs(
8484) : Promise < void > {
8585 const needle = `%${ credentialId } %`
8686
87- await clearInWorkflowBlocks ( credentialId , workspaceId , needle )
88- await clearInDeploymentVersions ( credentialId , workspaceId , needle )
89- await clearInPausedExecutions ( credentialId , workspaceId , needle )
90- await clearInWorkflowCheckpoints ( credentialId , workspaceId , needle )
91- await clearInKnowledgeConnectors ( credentialId )
87+ await Promise . all ( [
88+ clearInWorkflowBlocks ( credentialId , workspaceId , needle ) ,
89+ clearInDeploymentVersions ( credentialId , workspaceId , needle ) ,
90+ clearInPausedExecutions ( credentialId , workspaceId , needle ) ,
91+ clearInWorkflowCheckpoints ( credentialId , workspaceId , needle ) ,
92+ clearInKnowledgeConnectors ( credentialId ) ,
93+ ] )
9294}
9395
9496async function clearInWorkflowBlocks (
You can’t perform that action at this time.
0 commit comments