Skip to content

Commit

Permalink
fix custom_ending
Browse files Browse the repository at this point in the history
  • Loading branch information
Krysztophe committed Feb 28, 2019
1 parent 66ffc13 commit b3451ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mypolr/polr_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b3451ff

Please sign in to comment.