Skip to content
Snippets Groups Projects
Commit 3dd940d4 authored by Nihad Abbasov's avatar Nihad Abbasov
Browse files

API: extend UserLogin entity from UserBasic

parent 9aafe77e
No related branches found
No related tags found
1 merge request!1514Session API polishing
Loading
Loading
@@ -9,8 +9,8 @@ module Gitlab
expose :id, :email, :name, :blocked, :created_at
end
 
class UserLogin < Grape::Entity
expose :id, :email, :name, :private_token, :blocked, :created_at
class UserLogin < UserBasic
expose :private_token
end
 
class Hook < Grape::Entity
Loading
Loading
@@ -56,9 +56,7 @@ module Gitlab
end
 
class Key < Grape::Entity
expose :id,
:title,
:key
expose :id, :title, :key
end
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment