diff options
Diffstat (limited to 'app/serializers')
-rw-r--r-- | app/serializers/note_user_entity.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/note_user_entity.rb b/app/serializers/note_user_entity.rb index ffaf7664dae..8d30bbff5e4 100644 --- a/app/serializers/note_user_entity.rb +++ b/app/serializers/note_user_entity.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class NoteUserEntity < UserEntity - expose :gitlab_employee?, as: :is_gitlab_employee, if: ->(user, options) { ::Feature.enabled?(:gitlab_employee_badge) && user.gitlab_employee? } + expose :gitlab_employee?, as: :is_gitlab_employee, if: ->(user, options) { user.gitlab_employee? } unexpose :web_url end |