Skip to content

Commit

Permalink
fix: Pass in the correct server reference to external hooks (no-chang…
Browse files Browse the repository at this point in the history
…elog) (#5094)

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

* use the correct reference
  • Loading branch information
netroy authored Jan 5, 2023
1 parent b5e70d4 commit d77523b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/AbstractServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
}
}

Expand Down

0 comments on commit d77523b

Please sign in to comment.