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:
authorbigsurge <stone6_leung@hotmail.com>2015-08-19 09:29:18 +0300
committerbigsurge <stone6_leung@hotmail.com>2015-08-19 09:29:18 +0300
commitcecc18616a184211e4948e27df575fb08108af43 (patch)
treed9df616b467a815514a2c52b097098b176197f09 /lib
parent512bb5ba285ed02db97d51d439cc81d9bd08a03d (diff)
add CommitNote field expose :created_at
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 31202fa8c1f..c6108bee68b 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -203,6 +203,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