Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const getCommentComments = async (
start,
},
headers: {
'LinkedIn-Version': '202306',
'LinkedIn-Version': '202601',
Authorization: `Bearer ${accessToken}`,
},
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const getOrganization = async (
},
headers: {
'X-Restli-Protocol-Version': '2.0.0',
'LinkedIn-Version': '202306',
'LinkedIn-Version': '202601',
},
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const getOrganizationPosts = async (
start,
},
headers: {
'LinkedIn-Version': 202306,
'LinkedIn-Version': 202601,
Authorization: `Bearer ${accessToken}`,
},
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const getPost = async (
url: `https://api.linkedin.com/rest/posts/${postId}`,
headers: {
'X-Restli-Protocol-Version': '2.0.0',
'LinkedIn-Version': '202306',
'LinkedIn-Version': '202601',
},
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const getPostComments = async (
start,
},
headers: {
'LinkedIn-Version': 202306,
'LinkedIn-Version': 202601,
},
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const getPostReactions = async (
},
headers: {
'X-Restli-Protocol-Version': '2.0.0',
'LinkedIn-Version': '202306',
'LinkedIn-Version': '202601',
},
}

Expand Down