Skip to content

Commit

Permalink
Merge pull request #419 from gitroomhq/fix/linkedin
Browse files Browse the repository at this point in the history
Linkedin problems in load companies
  • Loading branch information
nevo-david authored Nov 6, 2024
2 parents aec7a49 + 3946d24 commit 9ffae68
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ export class LinkedinPageProvider
{
headers: {
Authorization: `Bearer ${accessToken}`,
'X-Restli-Protocol-Version': '2.0.0',
'LinkedIn-Version': '202402',
},
}
)
Expand All @@ -124,7 +126,10 @@ export class LinkedinPageProvider
requiredId: string,
accessToken: string
): Promise<AuthTokenDetails> {
const information = await this.fetchPageInformation(accessToken, requiredId);
const information = await this.fetchPageInformation(
accessToken,
requiredId
);

return {
id: information.id,
Expand Down

0 comments on commit 9ffae68

Please sign in to comment.