We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aec7a49 + 3946d24 commit 9ffae68Copy full SHA for 9ffae68
libraries/nestjs-libraries/src/integrations/social/linkedin.page.provider.ts
@@ -103,6 +103,8 @@ export class LinkedinPageProvider
103
{
104
headers: {
105
Authorization: `Bearer ${accessToken}`,
106
+ 'X-Restli-Protocol-Version': '2.0.0',
107
+ 'LinkedIn-Version': '202402',
108
},
109
}
110
)
@@ -124,7 +126,10 @@ export class LinkedinPageProvider
124
126
requiredId: string,
125
127
accessToken: string
128
): Promise<AuthTokenDetails> {
- const information = await this.fetchPageInformation(accessToken, requiredId);
129
+ const information = await this.fetchPageInformation(
130
+ accessToken,
131
+ requiredId
132
+ );
133
134
return {
135
id: information.id,
0 commit comments