Skip to content

Commit

Permalink
Merge pull request #431 from Rechi/fixPRLabels
Browse files Browse the repository at this point in the history
[fix] fetch labels with HTTP GET method
  • Loading branch information
kohsuke authored May 1, 2018
2 parents 1961836 + db89697 commit d50ae63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/kohsuke/github/GHPullRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ public enum MergeMethod{ MERGE, SQUASH, REBASE }

private void fetchIssue() throws IOException {
if (!fetchedIssueDetails) {
new Requester(root).to(getIssuesApiRoute(), this);
new Requester(root).method("GET").to(getIssuesApiRoute(), this);
fetchedIssueDetails = true;
}
}
Expand Down

0 comments on commit d50ae63

Please sign in to comment.