👕 Fix lint issue
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user