mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
🐛 Fix run deck node (#2285)
This commit is contained in:
@@ -163,9 +163,11 @@ export class Rundeck implements INodeType {
|
||||
|
||||
const operation = this.getNodeParameter('operation', 0) as string;
|
||||
const resource = this.getNodeParameter('resource', 0) as string;
|
||||
const rundeckApi = new RundeckApi(this);
|
||||
await rundeckApi.init();
|
||||
|
||||
|
||||
for (let i = 0; i < length; i++) {
|
||||
const rundeckApi = new RundeckApi(this);
|
||||
|
||||
if (resource === 'job') {
|
||||
if (operation === 'execute') {
|
||||
|
||||
Reference in New Issue
Block a user