Retrieve html_url from PRReviewComment

This commit is contained in:
Sladyn Nunes
2020-03-15 18:30:29 +05:30
parent c11c06b896
commit 53c37ef413
2 changed files with 5 additions and 1 deletions

View File

@@ -43,6 +43,7 @@ public class GHPullRequestReviewComment extends GHObject implements Reactable {
private String body;
private GHUser user;
private String path;
private String html_url;
private int position = -1;
private int original_position = -1;
private long in_reply_to_id = -1L;
@@ -141,7 +142,7 @@ public class GHPullRequestReviewComment extends GHObject implements Reactable {
@Override
public URL getHtmlUrl() {
return null;
return GitHubClient.parseURL(html_url);
}
/**