Commit cecc1861 authored by bigsurge's avatar bigsurge

add CommitNote field expose :created_at

add CommitNote field expose :created_at
parent 512bb5ba
...@@ -203,6 +203,7 @@ module API ...@@ -203,6 +203,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