👕 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

@@ -49,7 +49,7 @@ export class Affinity implements INodeType {
{
name: 'affinityApi',
required: true,
}
},
],
properties: [
{

View File

@@ -29,7 +29,7 @@ export async function affinityApiRequest(this: IExecuteFunctions | IWebhookFunct
body,
qs: query,
uri: uri || `${endpoint}${resource}`,
json: true
json: true,
};
if (!Object.keys(body).length) {
delete options.body;

View File

@@ -62,7 +62,7 @@ export const organizationFields = [
],
operation: [
'create',
]
],
},
},
description: 'The name of the organization.',
@@ -80,7 +80,7 @@ export const organizationFields = [
],
operation: [
'create',
]
],
},
},
description: 'The domain name of the organization.',
@@ -130,7 +130,7 @@ export const organizationFields = [
],
operation: [
'update',
]
],
},
},
description: 'Unique identifier for the organization.',
@@ -176,7 +176,7 @@ export const organizationFields = [
default: [],
description: 'Persons that the new organization will be associated with.',
},
]
],
},
/* -------------------------------------------------------------------------- */
/* organization:get */
@@ -194,7 +194,7 @@ export const organizationFields = [
],
operation: [
'get',
]
],
},
},
description: 'Unique identifier for the organization.',
@@ -223,7 +223,7 @@ export const organizationFields = [
default: false,
description: 'When true, interaction dates will be present on the returned resources.',
},
]
],
},
/* -------------------------------------------------------------------------- */
/* organization:getAll */
@@ -300,7 +300,7 @@ export const organizationFields = [
default: false,
description: 'When true, interaction dates will be present on the returned resources.',
},
]
],
},
/* -------------------------------------------------------------------------- */
/* organization:delete */
@@ -318,7 +318,7 @@ export const organizationFields = [
],
operation: [
'delete',
]
],
},
},
description: 'Unique identifier for the organization.',

View File

@@ -62,7 +62,7 @@ export const personFields = [
],
operation: [
'create',
]
],
},
},
description: 'The first name of the person.',
@@ -80,7 +80,7 @@ export const personFields = [
],
operation: [
'create',
]
],
},
},
description: 'The last name of the person.',
@@ -130,7 +130,7 @@ export const personFields = [
],
operation: [
'create',
]
],
},
},
placeholder: 'info@example.com',
@@ -152,7 +152,7 @@ export const personFields = [
],
operation: [
'update',
]
],
},
},
description: 'Unique identifier for the person.',
@@ -198,7 +198,7 @@ export const personFields = [
default: [],
description: 'Organizations that the person is associated with.',
},
]
],
},
{
displayName: 'Emails',
@@ -216,7 +216,7 @@ export const personFields = [
],
operation: [
'update',
]
],
},
},
placeholder: 'info@example.com',
@@ -238,7 +238,7 @@ export const personFields = [
],
operation: [
'get',
]
],
},
},
description: 'Unique identifier for the person.',
@@ -267,7 +267,7 @@ export const personFields = [
default: false,
description: 'When true, interaction dates will be present on the returned resources.',
},
]
],
},
/* -------------------------------------------------------------------------- */
/* person:getAll */
@@ -344,7 +344,7 @@ export const personFields = [
default: false,
description: 'When true, interaction dates will be present on the returned resources.',
},
]
],
},
/* -------------------------------------------------------------------------- */
/* person:delete */
@@ -362,7 +362,7 @@ export const personFields = [
],
operation: [
'delete',
]
],
},
},
description: 'Unique identifier for the person.',