Skip to content

Commit

Permalink
[fix] fetch labels with HTTP GET method
Browse files Browse the repository at this point in the history
  • Loading branch information
Rechi committed Apr 6, 2018
1 parent e233aee commit db89697
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 @@ -393,7 +393,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 db89697

Please sign in to comment.