diff options
author | Stan Hu <stanhu@gmail.com> | 2018-07-29 07:50:48 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-07-29 07:50:48 +0300 |
commit | 6408cd00208c66f8657d68d904bc71d58f1d5000 (patch) | |
tree | b1e9bc37ef754fa1c99375ef5145d0d75ff52da6 /lib/bitbucket_server/representation | |
parent | dd937377cf4cb8cfd2c4af713347d83c67278456 (diff) |
Use raw_comment
Diffstat (limited to 'lib/bitbucket_server/representation')
-rw-r--r-- | lib/bitbucket_server/representation/comment.rb | 6 |
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 |