add CommitNote field expose :created_at
add CommitNote field expose :created_at
This commit is contained in:
parent
512bb5ba28
commit
cecc18616a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue