diff options
Diffstat (limited to 'app/finders/ci')
-rw-r--r-- | app/finders/ci/commit_statuses_finder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/ci/commit_statuses_finder.rb b/app/finders/ci/commit_statuses_finder.rb index 3c465eb88f3..d49ec7ebb40 100644 --- a/app/finders/ci/commit_statuses_finder.rb +++ b/app/finders/ci/commit_statuses_finder.rb @@ -12,7 +12,7 @@ module Ci end def execute - return [] unless Ability.allowed?(@current_user, :read_pipeline, @project) + return {} unless Ability.allowed?(@current_user, :read_pipeline, @project) commit_statuses end |