Skip to content

Commit

Permalink
Merge pull request #4 from mikhailnov/master
Browse files Browse the repository at this point in the history
Fix "abf publish" (use PUT method)
  • Loading branch information
fedya authored Oct 17, 2019
2 parents 50380f0 + 3500074 commit 03e611b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion abf/api/jsn.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ def new_build_task(self, data):
def publish(self, task_id):
task_id = int(task_id)
URL = "/api/v1/build_lists/%d/publish.json" % task_id
return self.get_url_contents(URL)
return self.get_url_contents(URL, GET=None)

def new_pull_request(self, data, p_id):
URL = "/api/v1/projects/%d/pull_requests.json" % p_id
Expand Down

0 comments on commit 03e611b

Please sign in to comment.