fix: create branch not use post
This commit is contained in:
parent
ba3cb6ad03
commit
32d44188ef
|
@ -54,7 +54,7 @@ module Gitea
|
||||||
end
|
end
|
||||||
|
|
||||||
def post_repos_branches_by_owner_repo(owner, repo, opt = {})
|
def post_repos_branches_by_owner_repo(owner, repo, opt = {})
|
||||||
@http.get("/repos/#{owner}/#{repo}/branches", opt)
|
@http.post("/repos/#{owner}/#{repo}/branches", opt)
|
||||||
end
|
end
|
||||||
|
|
||||||
def get_repos_branches_by_owner_repo_branch(owner, repo, branch, opt = {})
|
def get_repos_branches_by_owner_repo_branch(owner, repo, branch, opt = {})
|
||||||
|
|
Loading…
Reference in New Issue