summaryrefslogtreecommitdiff
path: root/lib/bitbucket/representation/comment.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bitbucket/representation/comment.rb')
-rw-r--r--lib/bitbucket/representation/comment.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bitbucket/representation/comment.rb b/lib/bitbucket/representation/comment.rb
index 3c75e9368fa..4937aa9728f 100644
--- a/lib/bitbucket/representation/comment.rb
+++ b/lib/bitbucket/representation/comment.rb
@@ -6,7 +6,7 @@ module Bitbucket
end
def note
- raw.dig('content', 'raw')
+ raw.fetch('content', {}).fetch('raw', nil)
end
def created_at