This commit is contained in:
Jasder 2020-12-07 10:29:18 +08:00
parent 07caa77f97
commit a4a315ea32
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ module ProtectedBranchParamsAble
end end
def gitea_protected_branch_saved?(protected_branch) def gitea_protected_branch_saved?(protected_branch)
protected_branch[:status] === success protected_branch[:status] == :success
end end
def gitea_protected_branch_params def gitea_protected_branch_params