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-06-28 11:21:28 +0300
committerStan Hu <stanhu@gmail.com>2018-06-28 11:21:28 +0300
commitea727862df2861c0dd8ac874b40fbd96009e8ea9 (patch)
tree047dc1530d353ed09d12d0cc0c7098529090f9b4 /lib/bitbucket_server
parentc4dbe61a846ddc97f8161e14771a58f406f65c81 (diff)
Fix line code map omitting replies
Diffstat (limited to 'lib/bitbucket_server')
-rw-r--r--lib/bitbucket_server/representation/comment.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bitbucket_server/representation/comment.rb b/lib/bitbucket_server/representation/comment.rb
index 990905ac5a4..07a8b359db7 100644
--- a/lib/bitbucket_server/representation/comment.rb
+++ b/lib/bitbucket_server/representation/comment.rb
@@ -55,7 +55,7 @@ module BitbucketServer
comments.each do |comment|
new_comments = comment.delete('comments')
workset << new_comments if new_comments
- all_comments << Comment.new(comment)
+ all_comments << Comment.new({ 'comment' => comment})
end
end