Move url to separate method

This commit is contained in:
Liam Newman
2019-11-26 15:26:46 -08:00
parent 60700d59fe
commit 0f9482864c
55 changed files with 336 additions and 284 deletions

View File

@@ -57,7 +57,8 @@ public class GHAppCreateTokenBuilder {
public GHAppInstallationToken create() throws IOException {
return builder.method("POST")
.withPreview(MACHINE_MAN)
.to(apiUrlTail, GHAppInstallationToken.class)
.withUrlPath(apiUrlTail)
.to(GHAppInstallationToken.class)
.wrapUp(root);
}