mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
Fix bug in "run" command
This commit is contained in:
@@ -88,7 +88,6 @@ module.exports = (vorpal: Vorpal) => {
|
||||
GenericHelpers.logOutput(`The workflow with the id "${workflowId}" does not exist.`);
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Make sure the settings exist
|
||||
@@ -136,7 +135,7 @@ module.exports = (vorpal: Vorpal) => {
|
||||
const executionId = await workflowExecute.run(workflowInstance);
|
||||
|
||||
const activeExecutions = ActiveExecutions.getInstance();
|
||||
const data = activeExecutions.getPostExecutePromise(executionId);
|
||||
const data = await activeExecutions.getPostExecutePromise(executionId);
|
||||
|
||||
console.log('Execution was successfull:');
|
||||
console.log('====================================');
|
||||
|
||||
Reference in New Issue
Block a user