diff options
Diffstat (limited to 'lib/bitbucket/representation/comment.rb')
-rw-r--r-- | lib/bitbucket/representation/comment.rb | 2 |
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 |