Fix invalid URL for pull request comments update/delete

This commit is contained in:
Julien HENRY
2015-04-27 15:39:37 +02:00
parent dd3e73996b
commit 492ff58aa8
2 changed files with 36 additions and 3 deletions

View File

@@ -86,7 +86,7 @@ public class GHPullRequestReviewComment extends GHObject {
}
protected String getApiRoute() {
return "/repos/"+owner.getRepository().getFullName()+"/comments/"+id;
return "/repos/"+owner.getRepository().getFullName()+"/pulls/comments/"+id;
}
/**