feat(core): Add ownership, sharing and credential details to GET /workflows (#4510)
* ⚡ Abstract into `getMany()` * ⚡ Use `getMany()` from free controller * ⚡ Use `getMany()` from paid controller * 🧪 Add tests * 🧪 Fix tests * ⚡ Add credential usage info * 🧪 Update tests * ⚡ Add type and adjust test
This commit is contained in:
@@ -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),
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user