Merge pull request #419 from gitroomhq/fix/linkedin
Linkedin problems in load companies
This commit is contained in:
commit
9ffae68f9f
|
|
@ -103,6 +103,8 @@ export class LinkedinPageProvider
|
|||
{
|
||||
headers: {
|
||||
Authorization: `Bearer ${accessToken}`,
|
||||
'X-Restli-Protocol-Version': '2.0.0',
|
||||
'LinkedIn-Version': '202402',
|
||||
},
|
||||
}
|
||||
)
|
||||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue