add CommitNote field expose :created_at

add CommitNote field expose :created_at
This commit is contained in:
bigsurge 2015-08-19 14:29:18 +08:00
parent 512bb5ba28
commit cecc18616a
1 changed files with 1 additions and 0 deletions

View File

@ -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