mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor(core): Make external hooks type-safe, and add tests (#12893)
This commit is contained in:
committed by
GitHub
parent
3d27a14987
commit
05b5f95331
@@ -33,7 +33,7 @@ export class Webhook extends BaseCommand {
|
||||
this.logger.info('\nStopping n8n...');
|
||||
|
||||
try {
|
||||
await this.externalHooks?.run('n8n.stop', []);
|
||||
await this.externalHooks?.run('n8n.stop');
|
||||
|
||||
await Container.get(ActiveExecutions).shutdown();
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user