Skip to content

Commit

Permalink
feat: List a connection between an external group and a team [hub4j#2]
Browse files Browse the repository at this point in the history
  • Loading branch information
mestebangutierrez committed May 2, 2024
1 parent e788bdc commit 482dcb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/kohsuke/github/GHTeam.java
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ public GHExternalGroup connectToExternalGroup(final long group_id) throws IOExce
.withUrlPath(publicApi(EXTERNAL_GROUPS))
.fetch(GHExternalGroup.class)
.wrapUp(getOrganization());
} catch (HttpException e) {
} catch (final HttpException e) {
throw EnterpriseManagedSupport.forOrganization(getOrganization())
.handleException(e, "Could not connect team to external group")
.orElse(e);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class GHTeamCannotBeExternallyManagedException extends GHEnterpriseManage
* @param cause
* the cause
*/
public GHTeamCannotBeExternallyManagedException(final String message, GHError error, final Throwable cause) {
public GHTeamCannotBeExternallyManagedException(final String message, final GHError error, final Throwable cause) {
super(message, error, cause);
}
}

0 comments on commit 482dcb7

Please sign in to comment.