From 873b7e59dcea276c9f792570805a6de8ad4607a3 Mon Sep 17 00:00:00 2001 From: Jon Date: Tue, 2 Jul 2024 16:45:30 +0100 Subject: [PATCH] fix(LinkedIn Node): Fix issue with legacy credential no longer working (#9912) --- packages/nodes-base/nodes/LinkedIn/LinkedIn.node.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nodes-base/nodes/LinkedIn/LinkedIn.node.ts b/packages/nodes-base/nodes/LinkedIn/LinkedIn.node.ts index c434cd2372..44272830e7 100644 --- a/packages/nodes-base/nodes/LinkedIn/LinkedIn.node.ts +++ b/packages/nodes-base/nodes/LinkedIn/LinkedIn.node.ts @@ -86,7 +86,7 @@ export class LinkedIn implements INodeType { // https://docs.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin async getPersonUrn(this: ILoadOptionsFunctions): Promise { const authentication = this.getNodeParameter('authentication', 0); - let endpoint = '/me'; + let endpoint = '/v2/me'; if (authentication === 'standard') { const { legacy } = await this.getCredentials('linkedInOAuth2Api'); if (!legacy) {