Merge pull request #419 from gitroomhq/fix/linkedin
Some checks failed
Build Containers Enterprise / build-containers-common (push) Has been cancelled
Build Containers / build-containers-common (push) Has been cancelled
Build Containers Enterprise / build-containers (amd64, ubuntu-latest) (push) Has been cancelled
Build Containers Enterprise / build-containers (arm64, [self-hosted ARM64]) (push) Has been cancelled
Build Containers Enterprise / build-container-manifest (push) Has been cancelled
Build Containers / build-containers (amd64, ubuntu-latest) (push) Has been cancelled
Build Containers / build-containers (arm64, [self-hosted ARM64]) (push) Has been cancelled
Build Containers / build-container-manifest (push) Has been cancelled
Some checks failed
Build Containers Enterprise / build-containers-common (push) Has been cancelled
Build Containers / build-containers-common (push) Has been cancelled
Build Containers Enterprise / build-containers (amd64, ubuntu-latest) (push) Has been cancelled
Build Containers Enterprise / build-containers (arm64, [self-hosted ARM64]) (push) Has been cancelled
Build Containers Enterprise / build-container-manifest (push) Has been cancelled
Build Containers / build-containers (amd64, ubuntu-latest) (push) Has been cancelled
Build Containers / build-containers (arm64, [self-hosted ARM64]) (push) Has been cancelled
Build Containers / build-container-manifest (push) Has been cancelled
Linkedin problems in load companies
This commit is contained in:
commit
9ffae68f9f
1 changed files with 6 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue