Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2016-04-12 13:32:34 +0300
committerRobert Schilling <rschilling@student.tugraz.at>2016-04-12 13:32:34 +0300
commit10080ce3624e199bd770a924d8d7f178008d4cb7 (patch)
tree9f52c706e1a4f25ab6efa7b498e6c7776e5cab8d /lib
parent8cb41f19891e4f39c64abd6b2a273625103c5f43 (diff)
API: Expose updated_at for notes
Diffstat (limited to 'lib')
-rw-r--r--lib/api/entities.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb
index 5ed9b7b1d9f..939469b3886 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -212,7 +212,7 @@ module API
expose :note, as: :body
expose :attachment_identifier, as: :attachment
expose :author, using: Entities::UserBasic
- expose :created_at
+ expose :created_at, :updated_at
expose :system?, as: :system
expose :noteable_id, :noteable_type
# upvote? and downvote? are deprecated, always return false