Commit 5eb53602 authored by Bob Van Landuyt's avatar Bob Van Landuyt

Merge branch 'improve-project-bot-name-ux' into 'master'

Improve project bot name UX

See merge request gitlab-org/gitlab!81046
parents 326a388a d8b7136c
...@@ -41,7 +41,7 @@ class MemberEntity < Grape::Entity ...@@ -41,7 +41,7 @@ class MemberEntity < Grape::Entity
expose :valid_level_roles, as: :valid_roles expose :valid_level_roles, as: :valid_roles
expose :user, if: -> (member) { member.user.present? } do |member, options| expose :user, if: -> (member) { member.user.present? } do |member, options|
MemberUserEntity.represent(member.user, source: options[:source]) MemberUserEntity.represent(member.user, options)
end end
expose :state expose :state
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment