Merge pull request #6360 from jvanbaarsen/fix-6328-expose-username
Also expose username for the /discover endpoint
This commit is contained in:
commit
6f5a9b4110
|
@ -15,7 +15,7 @@ module API
|
|||
end
|
||||
|
||||
class UserSafe < Grape::Entity
|
||||
expose :name
|
||||
expose :name, :username
|
||||
end
|
||||
|
||||
class UserBasic < Grape::Entity
|
||||
|
|
Loading…
Reference in New Issue