def like_post(self, post_id, action):
        url = (ENDPOINTS.POSTS, str(post_id)) % '%s/%s/relation-to-viewer/is-liked'
        try:
            self.make_request('PUT', url, data=json.dumps(action))
        except (requests.ConnectionError, requests.HTTPError) as error:
            raise LinkedInError(error.message)
        else:
            return True
dataset/ETHPy150Open ozgur/python-linkedin/linkedin/linkedin.py/LinkedInApplication.like_post/swapped operands of `%`