mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
👕 Fix lint issue
This commit is contained in:
@@ -32,7 +32,7 @@ export class FlowTrigger implements INodeType {
|
||||
{
|
||||
name: 'flowApi',
|
||||
required: true,
|
||||
}
|
||||
},
|
||||
],
|
||||
webhooks: [
|
||||
{
|
||||
@@ -52,11 +52,11 @@ export class FlowTrigger implements INodeType {
|
||||
[
|
||||
{
|
||||
name: 'Project',
|
||||
value: 'list'
|
||||
value: 'list',
|
||||
},
|
||||
{
|
||||
name: 'Task',
|
||||
value: 'task'
|
||||
value: 'task',
|
||||
},
|
||||
],
|
||||
description: 'Resource that triggers the webhook',
|
||||
@@ -70,14 +70,14 @@ export class FlowTrigger implements INodeType {
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource:[
|
||||
'list'
|
||||
]
|
||||
'list',
|
||||
],
|
||||
},
|
||||
hide: {
|
||||
resource: [
|
||||
'task'
|
||||
]
|
||||
}
|
||||
'task',
|
||||
],
|
||||
},
|
||||
},
|
||||
description: `Lists ids, perhaps known better as "Projects" separated by ,`,
|
||||
},
|
||||
@@ -90,14 +90,14 @@ export class FlowTrigger implements INodeType {
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource:[
|
||||
'task'
|
||||
]
|
||||
'task',
|
||||
],
|
||||
},
|
||||
hide: {
|
||||
resource: [
|
||||
'list'
|
||||
]
|
||||
}
|
||||
'list',
|
||||
],
|
||||
},
|
||||
},
|
||||
description: `Task ids separated by ,`,
|
||||
},
|
||||
@@ -168,7 +168,7 @@ export class FlowTrigger implements INodeType {
|
||||
url: webhookUrl,
|
||||
resource_type: resource,
|
||||
resource_id: parseInt(resourceId, 10),
|
||||
}
|
||||
},
|
||||
};
|
||||
try {
|
||||
responseData = await flowApiRequest.call(this, 'POST', endpoint, body);
|
||||
@@ -217,7 +217,7 @@ export class FlowTrigger implements INodeType {
|
||||
const req = this.getRequestObject();
|
||||
return {
|
||||
workflowData: [
|
||||
this.helpers.returnJsonArray(req.body)
|
||||
this.helpers.returnJsonArray(req.body),
|
||||
],
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user