summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNihad Abbasov <narkoz.2008@gmail.com>2012-11-29 14:59:56 -0800
committerNihad Abbasov <narkoz.2008@gmail.com>2012-12-01 02:04:44 -0800
commit42ef89c98ab39904d313571ec26c67506cdbab59 (patch)
tree57f276476dcbccb42e69e03fe980d42da5bdc20b /lib
parent968c09ae919ce745a158764d49b3aff280324eb5 (diff)
downloadgitlab-ce-42ef89c98ab39904d313571ec26c67506cdbab59.tar.gz
API: expose created date for project hooks and user SSH keys
Diffstat (limited to 'lib')
-rw-r--r--lib/api/entities.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb
index f985636aa10..9e9d44594a2 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -14,7 +14,7 @@ module Gitlab
end
class Hook < Grape::Entity
- expose :id, :url
+ expose :id, :url, :created_at
end
class Project < Grape::Entity
@@ -61,7 +61,7 @@ module Gitlab
end
class SSHKey < Grape::Entity
- expose :id, :title, :key
+ expose :id, :title, :key, :created_at
end
class MergeRequest < Grape::Entity