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

add CommitNote field expose :created_at
This commit is contained in:
Stan Hu
2015-08-19 00:23:17 -07:00
+1
View File
@@ -221,6 +221,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