diff options
author | Stan Hu <stanhu@gmail.com> | 2018-06-28 01:21:28 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-06-28 01:21:28 -0700 |
commit | ea727862df2861c0dd8ac874b40fbd96009e8ea9 (patch) | |
tree | 047dc1530d353ed09d12d0cc0c7098529090f9b4 /lib/bitbucket_server | |
parent | c4dbe61a846ddc97f8161e14771a58f406f65c81 (diff) | |
download | gitlab-ce-ea727862df2861c0dd8ac874b40fbd96009e8ea9.tar.gz |
Fix line code map omitting replies
Diffstat (limited to 'lib/bitbucket_server')
-rw-r--r-- | lib/bitbucket_server/representation/comment.rb | 2 |
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 |