summaryrefslogtreecommitdiff
path: root/lib/api/helpers/project_snapshots_helpers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/helpers/project_snapshots_helpers.rb')
-rw-r--r--lib/api/helpers/project_snapshots_helpers.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/api/helpers/project_snapshots_helpers.rb b/lib/api/helpers/project_snapshots_helpers.rb
index 1b5dc281e38..13cec1bfd5c 100644
--- a/lib/api/helpers/project_snapshots_helpers.rb
+++ b/lib/api/helpers/project_snapshots_helpers.rb
@@ -3,6 +3,8 @@
module API
module Helpers
module ProjectSnapshotsHelpers
+ prepend_if_ee('::EE::API::Helpers::ProjectSnapshotsHelpers') # rubocop: disable Cop/InjectEnterpriseEditionModule
+
def authorize_read_git_snapshot!
authenticated_with_full_private_access!
end