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

Also expose username for the /discover endpoint
This commit is contained in:
Dmitriy Zaporozhets 2014-03-13 22:40:01 +02:00
commit 6f5a9b4110
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ module API
end
class UserSafe < Grape::Entity
expose :name
expose :name, :username
end
class UserBasic < Grape::Entity