linkedin-api icon indicating copy to clipboard operation
linkedin-api copied to clipboard

[Fix] Remove `{self.client.API_BASE_URL}` from `reply_invitation()` POST URL

Open pww217 opened this issue 9 months ago • 0 comments

Fixes https://github.com/tomquirk/linkedin-api/issues/351

As it says in the issue, it appears this function's URL construction string just had an extra variable that was causing it to return 404s. I put it in line with the other functions and tested it successfully with my own project.

It now works as intended and responds appropriately to invitations.

Perhaps there was some reason for the {self.client.API_BASE_URL}, but I suspect it was just left behind in a refactor.

pww217 avatar Oct 14 '23 15:10 pww217