mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
n8n-3867-progressively-apply-prettier-to-all (#3873)
* 🔨 formatting nodes with prettier
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
import {
|
||||
IHookFunctions,
|
||||
IWebhookFunctions,
|
||||
} from 'n8n-core';
|
||||
import { IHookFunctions, IWebhookFunctions } from 'n8n-core';
|
||||
|
||||
import {
|
||||
INodeType,
|
||||
@@ -10,13 +7,10 @@ import {
|
||||
NodeOperationError,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
import {
|
||||
apiRequest,
|
||||
} from './GenericFunctions';
|
||||
import { apiRequest } from './GenericFunctions';
|
||||
|
||||
// import { createHmac } from 'crypto';
|
||||
|
||||
|
||||
export class TrelloTrigger implements INodeType {
|
||||
description: INodeTypeDescription = {
|
||||
displayName: 'Trello Trigger',
|
||||
@@ -61,7 +55,6 @@ export class TrelloTrigger implements INodeType {
|
||||
description: 'ID of the model of which to subscribe to events',
|
||||
},
|
||||
],
|
||||
|
||||
};
|
||||
|
||||
// @ts-ignore (because of request)
|
||||
@@ -143,8 +136,6 @@ export class TrelloTrigger implements INodeType {
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
|
||||
async webhook(this: IWebhookFunctions): Promise<IWebhookResponseData> {
|
||||
const webhookName = this.getWebhookName();
|
||||
|
||||
@@ -174,9 +165,7 @@ export class TrelloTrigger implements INodeType {
|
||||
// }
|
||||
|
||||
return {
|
||||
workflowData: [
|
||||
this.helpers.returnJsonArray(bodyData),
|
||||
],
|
||||
workflowData: [this.helpers.returnJsonArray(bodyData)],
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user