mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 04:47:29 -08:00
⚡ Add external hook "activeWorkflows.initialized" (#2571)
This commit is contained in:
parent
67d876e559
commit
228ba36b56
|
@ -45,6 +45,7 @@ import {
|
|||
WorkflowExecuteAdditionalData,
|
||||
WorkflowHelpers,
|
||||
WorkflowRunner,
|
||||
ExternalHooks,
|
||||
} from '.';
|
||||
import config = require('../config');
|
||||
|
||||
|
@ -112,6 +113,8 @@ export class ActiveWorkflowRunner {
|
|||
}
|
||||
Logger.verbose('Finished initializing active workflows (startup)');
|
||||
}
|
||||
const externalHooks = ExternalHooks();
|
||||
await externalHooks.run('activeWorkflows.initialized', []);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
||||
|
|
Loading…
Reference in a new issue