diff --git a/packages/cli/src/workflows/workflows.services.ee.ts b/packages/cli/src/workflows/workflows.services.ee.ts index 3189776c2a2c1..a5b68758f4d2d 100644 --- a/packages/cli/src/workflows/workflows.services.ee.ts +++ b/packages/cli/src/workflows/workflows.services.ee.ts @@ -127,6 +127,7 @@ export class EEWorkflowsService extends WorkflowsService { workflow.usedCredentials?.push({ id: credential.id.toString(), name: credential.name, + type: credential.type, currentUserHasAccess: userCredentialIds.includes(credentialId), }); }); diff --git a/packages/cli/src/workflows/workflows.types.ts b/packages/cli/src/workflows/workflows.types.ts index 947e4c6968003..53edabae0759c 100644 --- a/packages/cli/src/workflows/workflows.types.ts +++ b/packages/cli/src/workflows/workflows.types.ts @@ -12,5 +12,6 @@ export interface WorkflowWithSharingsAndCredentials extends Omit { expect(usedCredential).toMatchObject({ id: savedCredential.id.toString(), name: savedCredential.name, + type: savedCredential.type, currentUserHasAccess: true, }); });