Skip to content

Commit

Permalink
Merge pull request #1 from Krysztophe/fix_commit_ending
Browse files Browse the repository at this point in the history
fix custom_ending
  • Loading branch information
fauskanger authored Feb 28, 2019
2 parents 66ffc13 + b3451ff commit 46eb4fc
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 46eb4fc

Please sign in to comment.