mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
fix(core): Make sure that special polling parameters are available on community nodes as well (#6230)
This broke in 0.227.0.
This commit is contained in:
parent
823e88500c
commit
9db49d0c18
|
@ -13,7 +13,9 @@ import { LoadNodesAndCredentials } from './LoadNodesAndCredentials';
|
|||
|
||||
@Service()
|
||||
export class NodeTypes implements INodeTypes {
|
||||
constructor(private nodesAndCredentials: LoadNodesAndCredentials) {
|
||||
constructor(private nodesAndCredentials: LoadNodesAndCredentials) {}
|
||||
|
||||
init() {
|
||||
// Some nodeTypes need to get special parameters applied like the
|
||||
// polling nodes the polling times
|
||||
this.applySpecialNodeParameters();
|
||||
|
|
|
@ -31,7 +31,7 @@ export abstract class BaseCommand extends Command {
|
|||
|
||||
protected loadNodesAndCredentials: LoadNodesAndCredentials;
|
||||
|
||||
protected nodeTypes: INodeTypes;
|
||||
protected nodeTypes: NodeTypes;
|
||||
|
||||
protected userSettings: IUserSettings;
|
||||
|
||||
|
@ -51,6 +51,7 @@ export abstract class BaseCommand extends Command {
|
|||
this.loadNodesAndCredentials = Container.get(LoadNodesAndCredentials);
|
||||
await this.loadNodesAndCredentials.init();
|
||||
this.nodeTypes = Container.get(NodeTypes);
|
||||
this.nodeTypes.init();
|
||||
const credentialTypes = Container.get(CredentialTypes);
|
||||
CredentialsOverwrites(credentialTypes);
|
||||
|
||||
|
|
Loading…
Reference in a new issue