summaryrefslogtreecommitdiff
path: root/lib/api/entities/deploy_key_with_user.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/entities/deploy_key_with_user.rb')
-rw-r--r--lib/api/entities/deploy_key_with_user.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/api/entities/deploy_key_with_user.rb b/lib/api/entities/deploy_key_with_user.rb
index 31024dc3910..a8f6440b67c 100644
--- a/lib/api/entities/deploy_key_with_user.rb
+++ b/lib/api/entities/deploy_key_with_user.rb
@@ -2,7 +2,8 @@
module API
module Entities
- class DeployKeyWithUser < Entities::SSHKeyWithUser
+ class DeployKeyWithUser < Entities::DeployKey
+ expose :user, using: Entities::UserPublic
expose :deploy_keys_projects
end
end