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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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