summaryrefslogtreecommitdiff
path: root/lib/github/representation/comment.rb
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-04-13 16:24:55 -0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-04-24 16:17:52 -0300
commiteb95f0e5b2bc606eeffb2e214379082862d973d6 (patch)
tree629d4d79e47676ebc619191fcaefaff660251c96 /lib/github/representation/comment.rb
parent00912ed963a3495d59d8632d8d195515e9686129 (diff)
downloadgitlab-ce-eb95f0e5b2bc606eeffb2e214379082862d973d6.tar.gz
Fix comment representation
Diffstat (limited to 'lib/github/representation/comment.rb')
-rw-r--r--lib/github/representation/comment.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/github/representation/comment.rb b/lib/github/representation/comment.rb
index ac7832ce28b..819e4107118 100644
--- a/lib/github/representation/comment.rb
+++ b/lib/github/representation/comment.rb
@@ -47,11 +47,11 @@ module Github
end
def diff_hunk
- raw_data.diff_hunk
+ raw['diff_hunk']
end
def file_path
- raw_data.path
+ raw['path']
end
end
end