diff --git a/mypolr/polr_api.py b/mypolr/polr_api.py index d4f1a84..71cb35f 100644 --- a/mypolr/polr_api.py +++ b/mypolr/polr_api.py @@ -87,7 +87,7 @@ def shorten(self, long_url, custom_ending=None, is_secret=False): params = { 'url': long_url, 'is_secret': 'true' if is_secret else 'false', - 'custom_encoding': custom_ending + 'custom_ending': custom_ending } data, r = self._make_request(self.api_shorten_endpoint, params) if r.status_code == 400: