mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
n8n-3867-progressively-apply-prettier-to-all (#3873)
* 🔨 formatting nodes with prettier
This commit is contained in:
@@ -9,14 +9,9 @@ import {
|
||||
IWebhookResponseData,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
import {
|
||||
IHookFunctions,
|
||||
} from 'n8n-core';
|
||||
import { IHookFunctions } from 'n8n-core';
|
||||
|
||||
import {
|
||||
getAutomaticSecret,
|
||||
taigaApiRequest,
|
||||
} from './GenericFunctions';
|
||||
import { getAutomaticSecret, taigaApiRequest } from './GenericFunctions';
|
||||
|
||||
// import {
|
||||
// createHmac,
|
||||
@@ -55,7 +50,8 @@ export class TaigaTrigger implements INodeType {
|
||||
displayName: 'Project Name or ID',
|
||||
name: 'projectId',
|
||||
type: 'options',
|
||||
description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
|
||||
description:
|
||||
'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getUserProjects',
|
||||
},
|
||||
@@ -67,9 +63,7 @@ export class TaigaTrigger implements INodeType {
|
||||
name: 'resources',
|
||||
type: 'multiOptions',
|
||||
required: true,
|
||||
default: [
|
||||
'all',
|
||||
],
|
||||
default: ['all'],
|
||||
options: [
|
||||
{
|
||||
name: 'All',
|
||||
@@ -103,9 +97,7 @@ export class TaigaTrigger implements INodeType {
|
||||
name: 'operations',
|
||||
type: 'multiOptions',
|
||||
required: true,
|
||||
default: [
|
||||
'all',
|
||||
],
|
||||
default: ['all'],
|
||||
description: 'Operations to listen to',
|
||||
options: [
|
||||
{
|
||||
@@ -246,9 +238,7 @@ export class TaigaTrigger implements INodeType {
|
||||
// }
|
||||
|
||||
return {
|
||||
workflowData: [
|
||||
this.helpers.returnJsonArray(body),
|
||||
],
|
||||
workflowData: [this.helpers.returnJsonArray(body)],
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user