fix: create branch not use post

This commit is contained in:
viletyy 2022-07-15 11:44:19 +08:00
parent ba3cb6ad03
commit 32d44188ef
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ module Gitea
end
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
def get_repos_branches_by_owner_repo_branch(owner, repo, branch, opt = {})