diff --git a/app/services/concerns/protected_branch_params_able.rb b/app/services/concerns/protected_branch_params_able.rb index aeb62e646..3ab0de0bb 100644 --- a/app/services/concerns/protected_branch_params_able.rb +++ b/app/services/concerns/protected_branch_params_able.rb @@ -208,7 +208,7 @@ module ProtectedBranchParamsAble end def gitea_protected_branch_saved?(protected_branch) - protected_branch[:status] === success + protected_branch[:status] == :success end def gitea_protected_branch_params