fix: Pass in the correct server reference to external hooks (no-changelog) (#5094)

* fix: Pass in the correct server reference to external hooks (no-changelog)

* use the correct reference
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-01-05 16:56:27 +01:00
committed by GitHub
parent b5e70d45bf
commit d77523bd31

View File

@@ -442,7 +442,7 @@ export abstract class AbstractServer {
console.log(`Locale: ${defaultLocale}`); console.log(`Locale: ${defaultLocale}`);
} }
await externalHooks.run('n8n.ready', [app, config]); await externalHooks.run('n8n.ready', [this, config]);
} }
} }