👕 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

@@ -19,7 +19,7 @@ export async function twitterApiRequest(this: IExecuteFunctions | IExecuteSingle
body,
qs,
url: uri || `https://api.twitter.com/1.1${resource}`,
json: true
json: true,
};
try {
if (Object.keys(option).length !== 0) {

View File

@@ -143,7 +143,7 @@ export const tweetFields = [
default: false,
description: 'If you upload Tweet media that might be considered sensitive content such as nudity, or medical procedures, you must set this value to true.',
},
]
],
},
/* -------------------------------------------------------------------------- */
/* tweet:search */
@@ -323,7 +323,7 @@ export const tweetFields = [
{
name: 'Popular',
value: 'popular',
description: 'Return only the most popular results in the response.'
description: 'Return only the most popular results in the response.',
},
],
default: 'mixed',

View File

@@ -51,7 +51,7 @@ export class Twitter implements INodeType {
{
name: 'twitterOAuth1Api',
required: true,
}
},
],
properties: [
{
@@ -239,7 +239,7 @@ export class Twitter implements INodeType {
const returnAll = this.getNodeParameter('returnAll', i) as boolean;
const additionalFields = this.getNodeParameter('additionalFields', i) as IDataObject;
const qs: IDataObject = {
q
q,
};
if (additionalFields.includeEntities) {