summaryrefslogtreecommitdiff
path: root/app/serializers/project_mirror_entity.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/serializers/project_mirror_entity.rb')
-rw-r--r--app/serializers/project_mirror_entity.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/serializers/project_mirror_entity.rb b/app/serializers/project_mirror_entity.rb
index c13cc3276a7..2efd820d893 100644
--- a/app/serializers/project_mirror_entity.rb
+++ b/app/serializers/project_mirror_entity.rb
@@ -1,6 +1,8 @@
# frozen_string_literal: true
class ProjectMirrorEntity < Grape::Entity
+ prepend_if_ee('::EE::ProjectMirrorEntity') # rubocop: disable Cop/InjectEnterpriseEditionModule
+
expose :id
expose :remote_mirrors_attributes, using: RemoteMirrorEntity do |project|