Commit c2ed468d authored by Jeroen van Baarsen's avatar Jeroen van Baarsen

Also expose username for the /discover endpoint

Fixes #6328
parent 499a1185
......@@ -15,7 +15,7 @@ module API
end
class UserSafe < Grape::Entity
expose :name
expose :name, :username
end
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