mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix(core): Optimize SharedWorkflow queries (#6297)
* optimize SharedWorkflow queries * fix int to string ids
This commit is contained in:
committed by
GitHub
parent
4d9c8b07a9
commit
ed7f3b845f
@@ -764,8 +764,7 @@ export class Server extends AbstractServer {
|
||||
this.app.get(
|
||||
`/${this.restEndpoint}/active`,
|
||||
ResponseHelper.send(async (req: WorkflowRequest.GetAllActive) => {
|
||||
const activeWorkflows = await this.activeWorkflowRunner.getActiveWorkflows(req.user);
|
||||
return activeWorkflows.map(({ id }) => id);
|
||||
return this.activeWorkflowRunner.getActiveWorkflows(req.user);
|
||||
}),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user