Commit e56fd693 authored by Stan Hu's avatar Stan Hu

Merge pull request #9567 from bigsurge/bigsurge-patch-1

add CommitNote field expose :created_at
parents 51e64356 cecc1861
...@@ -221,6 +221,7 @@ module API ...@@ -221,6 +221,7 @@ module API
expose(:line) { |note| note.diff_new_line } expose(:line) { |note| note.diff_new_line }
expose(:line_type) { |note| note.diff_line_type } expose(:line_type) { |note| note.diff_line_type }
expose :author, using: Entities::UserBasic expose :author, using: Entities::UserBasic
expose :created_at
end end
class Event < Grape::Entity class Event < Grape::Entity
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment