summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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