From c2ed468d803f37e29636d234d6c5db4e7e220880 Mon Sep 17 00:00:00 2001 From: Jeroen van Baarsen Date: Thu, 20 Feb 2014 10:59:03 +0100 Subject: Also expose username for the /discover endpoint Fixes #6328 --- lib/api/entities.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/api') diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 8557fa074d4..9c9c7fcd6ea 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -15,7 +15,7 @@ module API end class UserSafe < Grape::Entity - expose :name + expose :name, :username end class UserBasic < Grape::Entity -- cgit v1.2.1