Skip to content

Commit

Permalink
Update __init__.py (#714)
Browse files Browse the repository at this point in the history
fix issue with incorrect api call for declining PRs
  • Loading branch information
manefix authored Feb 1, 2021
1 parent 4ad1349 commit 88327f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atlassian/bitbucket/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1492,7 +1492,7 @@ def decline_pull_request(self, project_key, repository_slug, pr_id, pr_version):
:param pr_version: 12
:return:
"""
url = self._url_pull_request(project_key, repository_slug, pr_id)
url = "{}/decline".format(self._url_pull_request(project_key, repository_slug, pr_id))
params = {}
if not self.cloud:
params["version"] = pr_version
Expand Down

0 comments on commit 88327f3

Please sign in to comment.