mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix(core): Allow all executions to be stopped (#6386)
* allow all executions to be stopped and fix display issue * limit cancelation and add recover for unknown states
This commit is contained in:
committed by
GitHub
parent
28bb797bb0
commit
cc44af9243
@@ -1246,7 +1246,7 @@ export class Server extends AbstractServer {
|
||||
throw new ResponseHelper.NotFoundError('Execution not found');
|
||||
}
|
||||
|
||||
const execution = await Db.collections.Execution.findOne({
|
||||
const execution = await Db.collections.Execution.exist({
|
||||
where: {
|
||||
id: executionId,
|
||||
workflowId: In(sharedWorkflowIds),
|
||||
|
||||
Reference in New Issue
Block a user