Skip to content

Commit 8cbc183

Browse files
authored
Populate GHUser before access a suspendedAt field value (hub4j#1912)
* fix GHUser.suspendedAt - populate before parsing a value - conform field naming convention * rollback changing field name
1 parent f80d9f8 commit 8cbc183

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/org/kohsuke/github/GHUser.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ public Optional<String> getLdapDn() throws IOException {
275275
* on error
276276
*/
277277
public Date getSuspendedAt() throws IOException {
278+
super.populate();
278279
return GitHubClient.parseDate(suspendedAt);
279280
}
280281

0 commit comments

Comments
 (0)