Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/PullRequestService.java')
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/PullRequestService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/PullRequestService.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/PullRequestService.java
index 41f4b275..7c69150f 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/PullRequestService.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/PullRequestService.java
@@ -271,7 +271,7 @@ public class PullRequestService extends GitHubService {
uri.append('/').append(id);
uri.append(SEGMENT_PULLS);
Map<String, Object> params = new HashMap<>();
- params.put("issue", issueId); //$NON-NLS-1$
+ params.put("issue", Integer.valueOf(issueId)); //$NON-NLS-1$
params.put("head", head); //$NON-NLS-1$
params.put("base", base); //$NON-NLS-1$
return client.post(uri.toString(), params, PullRequest.class);

Back to the top