API: SSH keys belong to user entity
This commit is contained in:
parent
4a072be2d7
commit
b62445813d
8 changed files with 195 additions and 212 deletions
|
@ -60,8 +60,8 @@ module Gitlab
|
|||
expose :closed, :updated_at, :created_at
|
||||
end
|
||||
|
||||
class Key < Grape::Entity
|
||||
expose :id, :title, :key
|
||||
class SSHKey < Grape::Entity
|
||||
expose :id, :title, :key
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue