Commit c2ed468d803f37e29636d234d6c5db4e7e220880

Authored by Jeroen van Baarsen
1 parent 499a1185

Also expose username for the /discover endpoint

Fixes #6328
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/api/entities.rb
... ... @@ -15,7 +15,7 @@ module API
15 15 end
16 16  
17 17 class UserSafe < Grape::Entity
18   - expose :name
  18 + expose :name, :username
19 19 end
20 20  
21 21 class UserBasic < Grape::Entity
... ...