👕 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

@@ -12,7 +12,7 @@ export async function linkedInApiRequest(this: IHookFunctions | IExecuteFunction
const options: OptionsWithUrl = {
headers: {
'Accept': 'application/json',
'X-Restli-Protocol-Version': '2.0.0'
'X-Restli-Protocol-Version': '2.0.0',
},
method,
body,

View File

@@ -68,7 +68,7 @@ export class LinkedIn implements INodeType {
returnData.push({ name: `${person.localizedFirstName} ${person.localizedLastName}`, value: person.id });
return returnData;
},
}
},
};
async execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]> {
@@ -206,19 +206,19 @@ export class LinkedIn implements INodeType {
{
status: 'READY',
description: {
text: description
text: description,
},
originalUrl,
title: {
text: title
}
}
]
}
text: title,
},
},
],
},
},
visibility: {
'com.linkedin.ugc.MemberNetworkVisibility': visibility
}
'com.linkedin.ugc.MemberNetworkVisibility': visibility,
},
};
} else {
body = {
@@ -233,8 +233,8 @@ export class LinkedIn implements INodeType {
},
},
visibility: {
'com.linkedin.ugc.MemberNetworkVisibility': visibility
}
'com.linkedin.ugc.MemberNetworkVisibility': visibility,
},
};
}

View File

@@ -66,8 +66,8 @@ export const postFields = [
resource: [
'post',
],
}
}
},
},
},
{
displayName: 'Organization URN',
@@ -126,7 +126,7 @@ export const postFields = [
name: 'Image',
value: 'IMAGE',
description: 'The post contains an image',
}
},
],
displayOptions: {
show: {