linkedin-api
linkedin-api copied to clipboard
[Fix] Remove `{self.client.API_BASE_URL}` from `reply_invitation()` POST URL
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.