n8n-3867-progressively-apply-prettier-to-all (#3873)

* 🔨 formatting nodes with prettier
This commit is contained in:
Michael Kret
2022-08-17 18:50:24 +03:00
committed by GitHub
parent f2d326c7f0
commit 91d7e16c81
1072 changed files with 42357 additions and 59109 deletions

View File

@@ -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)],
};
}
}