Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2015-08-19 10:23:17 +0300
committerStan Hu <stanhu@gmail.com>2015-08-19 10:23:17 +0300
commite56fd693eef2b8b24b136509b685746bc5416d06 (patch)
treef7c8269b624c25d030ec338c38f89252d5831ac6 /lib
parent51e64356d7339584396d9ba6158046dcdf666282 (diff)
parentcecc18616a184211e4948e27df575fb08108af43 (diff)
Merge pull request #9567 from bigsurge/bigsurge-patch-1
add CommitNote field expose :created_at
Diffstat (limited to 'lib')
-rw-r--r--lib/api/entities.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb
index 09d231af41b..1f9dd6bc152 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -221,6 +221,7 @@ module API
expose(:line) { |note| note.diff_new_line }
expose(:line_type) { |note| note.diff_line_type }
expose :author, using: Entities::UserBasic
+ expose :created_at
end
class Event < Grape::Entity