From 9c38853e5051f0c472decfeba6b54fac96a00780 Mon Sep 17 00:00:00 2001 From: yashin Date: Thu, 26 Jul 2018 19:00:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=90=88=E5=B9=B6pr=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/gitee/jenkins/gitee/api/impl/GiteeV5ApiProxy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gitee/jenkins/gitee/api/impl/GiteeV5ApiProxy.java b/src/main/java/com/gitee/jenkins/gitee/api/impl/GiteeV5ApiProxy.java index 8eeb6ee..c8d49b4 100644 --- a/src/main/java/com/gitee/jenkins/gitee/api/impl/GiteeV5ApiProxy.java +++ b/src/main/java/com/gitee/jenkins/gitee/api/impl/GiteeV5ApiProxy.java @@ -16,7 +16,7 @@ interface GiteeV5ApiProxy extends GiteeApiProxy { @PUT @Produces(MediaType.APPLICATION_JSON) @Consumes(MediaType.APPLICATION_FORM_URLENCODED) - @Path("/repos/{ownerPath}/{repoPath}/pulls/{prNumber}/pull") + @Path("/repos/{ownerPath}/{repoPath}/pulls/{prNumber}/merge") void acceptPullRequest(@PathParam("ownerPath") String ownerPath, @PathParam("repoPath") String repoPath, @PathParam("prNumber") Integer prNumber);