Commit 6f5a9b41 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #6360 from jvanbaarsen/fix-6328-expose-username

Also expose username for the /discover endpoint
parents c8e1c53f c2ed468d
...@@ -15,7 +15,7 @@ module API ...@@ -15,7 +15,7 @@ module API
end end
class UserSafe < Grape::Entity class UserSafe < Grape::Entity
expose :name expose :name, :username
end end
class UserBasic < Grape::Entity class UserBasic < Grape::Entity
......
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