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
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2018-07-29 07:50:48 +0300
committerStan Hu <stanhu@gmail.com>2018-07-29 07:50:48 +0300
commit6408cd00208c66f8657d68d904bc71d58f1d5000 (patch)
treeb1e9bc37ef754fa1c99375ef5145d0d75ff52da6 /lib/bitbucket_server/representation
parentdd937377cf4cb8cfd2c4af713347d83c67278456 (diff)
Use raw_comment
Diffstat (limited to 'lib/bitbucket_server/representation')
-rw-r--r--lib/bitbucket_server/representation/comment.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/bitbucket_server/representation/comment.rb b/lib/bitbucket_server/representation/comment.rb
index 59c44589aae..a4da195f4ca 100644
--- a/lib/bitbucket_server/representation/comment.rb
+++ b/lib/bitbucket_server/representation/comment.rb
@@ -84,15 +84,15 @@ module BitbucketServer
end
def author
- raw.dig('comment', 'author')
+ raw_comment['author']
end
def created_date
- raw.dig('comment', 'createdDate')
+ raw_comment['createdDate']
end
def updated_date
- raw.dig('comment', 'updatedDate')
+ raw_comment['updatedDate']
end
end
end