mirror of
https://github.com/jlengrand/github-api.git
synced 2026-04-17 08:21:22 +00:00
Move url to separate method
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user