👕 Fix lint issue

This commit is contained in:
Jan Oberhauser
2020-10-22 15:46:03 +02:00
parent 5b7efd67ca
commit 40c2acd77b
491 changed files with 4045 additions and 3936 deletions

View File

@@ -59,7 +59,7 @@ export class ConvertKit implements INodeType {
{
name: 'convertKitApi',
required: true,
}
},
],
properties: [
{
@@ -89,7 +89,7 @@ export class ConvertKit implements INodeType {
},
],
default: 'form',
description: 'The resource to operate on.'
description: 'The resource to operate on.',
},
//--------------------
// Field Description
@@ -170,7 +170,7 @@ export class ConvertKit implements INodeType {
return returnData;
},
}
},
};
async execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]> {
@@ -389,7 +389,7 @@ export class ConvertKit implements INodeType {
const names = ((this.getNodeParameter('name', i) as string).split(',') as string[]).map((e) => ({ name: e }));
const body: IDataObject = {
tag: names
tag: names,
};
responseData = await convertKitApiRequest.call(this, 'POST', '/tags', body);

View File

@@ -254,7 +254,7 @@ export class ConvertKitTrigger implements INodeType {
return returnData;
},
}
},
};
// @ts-ignore (because of request)
@@ -290,7 +290,7 @@ export class ConvertKitTrigger implements INodeType {
const body: IDataObject = {
target_url: webhookUrl as string,
event: {
name: event
name: event,
},
};