Skip to content
Permalink
Browse files
170: Implement setTitle for GitHub pull requests
Reviewed-by: ehelin
  • Loading branch information
rwestberg committed Nov 25, 2019
1 parent 943987f commit bdaf9130d1fc77724a9e7e04b5ba330649c700a5
Showing with 3 additions and 1 deletion.
  1. +3 −1 forge/src/main/java/org/openjdk/skara/forge/github/GitHubPullRequest.java
@@ -234,7 +234,9 @@ public String title() {

@Override
public void setTitle(String title) {
throw new RuntimeException("not implemented yet");
request.patch("pulls/" + json.get("number").toString())
.body("title", title)
.execute();
}

@Override

0 comments on commit bdaf913

Please sign in to comment.