Clean up Requester interface a bit

This commit is contained in:
Liam Newman
2019-11-14 18:16:56 -08:00
parent d3564a9a4f
commit 37d7cfaaf2
15 changed files with 55 additions and 131 deletions

View File

@@ -176,7 +176,7 @@ public class GHProject extends GHObject {
}
private void edit(String key, Object value) throws IOException {
new Requester(root).withPreview(INERTIA)._with(key, value).method("PATCH").to(getApiRoute());
new Requester(root).withPreview(INERTIA).with(key, value).method("PATCH").to(getApiRoute());
}
/**