Merge pull request #2243 from jouve/fix_gfm_username_autocomplete
fix gfm autocomplete for usernames
This commit is contained in:
commit
d2be7577c1
9 changed files with 76 additions and 44 deletions
|
@ -1,12 +1,12 @@
|
|||
module Gitlab
|
||||
module Entities
|
||||
class User < Grape::Entity
|
||||
expose :id, :email, :name, :bio, :skype, :linkedin, :twitter,
|
||||
expose :id, :username, :email, :name, :bio, :skype, :linkedin, :twitter,
|
||||
:dark_scheme, :theme_id, :blocked, :created_at
|
||||
end
|
||||
|
||||
class UserBasic < Grape::Entity
|
||||
expose :id, :email, :name, :blocked, :created_at
|
||||
expose :id, :username, :email, :name, :blocked, :created_at
|
||||
end
|
||||
|
||||
class UserLogin < UserBasic
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue