refactor(core): Make external hooks type-safe, and add tests (#12893)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2025-01-29 10:33:39 +01:00
committed by GitHub
parent 3d27a14987
commit 05b5f95331
17 changed files with 289 additions and 150 deletions

View File

@@ -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) {