diff options
Diffstat (limited to 'app/models/ci/job_artifact.rb')
-rw-r--r-- | app/models/ci/job_artifact.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ci/job_artifact.rb b/app/models/ci/job_artifact.rb index d3705265d91..0c6fcc02344 100644 --- a/app/models/ci/job_artifact.rb +++ b/app/models/ci/job_artifact.rb @@ -362,7 +362,7 @@ module Ci end def public_access? - return true unless Feature.enabled?(:non_public_artifacts, type: :development) + return true unless Feature.enabled?(:non_public_artifacts, project, type: :development) public_accessibility? end |