fix: owner error

This commit is contained in:
viletyy 2022-06-22 18:51:30 +08:00
parent 1d7adee069
commit dfe9d0eadc
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ module Gitea
@http.patch("/repos/#{owner}/#{repo}/branch_protections/#{name}", opt)
end
def get_repos_branch_tag_count_by_owner_repo(owenr, repo, opt={})
def get_repos_branch_tag_count_by_owner_repo(owner, repo, opt={})
@http.get("/repos/#{owner}/#{repo}/branch_tag_count", opt)
end