修复合并pr接口

This commit is contained in:
yashin 2018-07-26 19:00:57 +08:00
parent d0eea86eb0
commit 9c38853e50
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ interface GiteeV5ApiProxy extends GiteeApiProxy {
@PUT @PUT
@Produces(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON)
@Consumes(MediaType.APPLICATION_FORM_URLENCODED) @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, void acceptPullRequest(@PathParam("ownerPath") String ownerPath,
@PathParam("repoPath") String repoPath, @PathParam("repoPath") String repoPath,
@PathParam("prNumber") Integer prNumber); @PathParam("prNumber") Integer prNumber);