mirror of
https://github.com/jlengrand/github-api.git
synced 2026-03-20 15:50:29 +00:00
Clean up request method calls
This commit is contained in:
@@ -16,7 +16,7 @@ public class GHCreateRepositoryBuilder {
|
||||
GHCreateRepositoryBuilder(GitHub root, String apiUrlTail, String name) {
|
||||
this.root = root;
|
||||
this.apiUrlTail = apiUrlTail;
|
||||
this.builder = root.retrieve().method("POST");
|
||||
this.builder = root.retrieve();
|
||||
this.builder.with("name", name);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user