n8n-3867-progressively-apply-prettier-to-all (#3873)
* 🔨 formatting nodes with prettier
This commit is contained in:
@@ -1,18 +1,13 @@
|
||||
import {
|
||||
IExecuteFunctions,
|
||||
} from 'n8n-core';
|
||||
import { IExecuteFunctions } from 'n8n-core';
|
||||
|
||||
import {
|
||||
IDataObject,
|
||||
INodeExecutionData,
|
||||
} from 'n8n-workflow';
|
||||
import { IDataObject, INodeExecutionData } from 'n8n-workflow';
|
||||
|
||||
import {
|
||||
apiRequest,
|
||||
} from '../../../transport';
|
||||
import { apiRequest } from '../../../transport';
|
||||
|
||||
|
||||
export async function addAlert(this: IExecuteFunctions, index: number): Promise<INodeExecutionData[]> {
|
||||
export async function addAlert(
|
||||
this: IExecuteFunctions,
|
||||
index: number,
|
||||
): Promise<INodeExecutionData[]> {
|
||||
const customerId = this.getNodeParameter('customerId', index) as IDataObject;
|
||||
const assetId = this.getNodeParameter('assetId', index) as IDataObject;
|
||||
const description = this.getNodeParameter('description', index) as IDataObject;
|
||||
|
||||
Reference in New Issue
Block a user