mirror of
https://github.com/jlengrand/github-api.git
synced 2026-04-05 08:21:21 +00:00
Fixed a bug in the databinding of the 'private' field.
Luca pointed out this bug in
ae7a616e92
This commit is contained in:
@@ -7,7 +7,6 @@ import java.util.Arrays;
|
||||
*/
|
||||
public class Foo {
|
||||
public static void main(String[] args) throws Exception {
|
||||
System.out.println(GitHub.connect().createToken(
|
||||
Arrays.asList("user", "repo", "delete_repo", "notifications", "gist"), "GitHub API", null).getToken());
|
||||
System.out.println(GitHub.connect().getOrganization("cloudbees").getRepository("grandcentral").isPrivate());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user