API: expose created date for project hooks and user SSH keys

This commit is contained in:
Nihad Abbasov 2012-11-29 14:59:56 -08:00
parent 968c09ae91
commit 42ef89c98a
2 changed files with 3 additions and 2 deletions

View file

@ -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