mirror of
https://abf.rosa.ru/djam/abf-console-client-src.git
synced 2025-02-23 18:02:50 +00:00
Fix "abf publish" (use PUT method)
This commit is contained in:
parent
92d68b9b6a
commit
5e970d3d5e
1 changed files with 1 additions and 1 deletions
|
@ -374,7 +374,7 @@ class AbfJson(object):
|
|||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue