Commit 6f5a9b4110bc5e88b7c7ed9fb6a03d6158ad247d

Authored by Dmitriy Zaporozhets
2 parents c8e1c53f c2ed468d

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

Also expose username for the /discover endpoint
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
... ...