Skip to content

Commit

Permalink
Merge pull request appirio-tech#521 from appirio-tech/v5groups
Browse files Browse the repository at this point in the history
fixed issue with v5 groups api
  • Loading branch information
Dushyant Bhalgami authored Feb 13, 2020
2 parents 4dac26b + d1a2304 commit a4a9823
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ protected void executeAction() throws Exception {
List<ProjectGroup> projectGroups = DirectUtils.getGroupIdAndName(
softwareCompetition.getProjectHeader().getGroups());

if (this.type == TYPE.CONTEST_JSON) {
if (projectGroups != null && this.type == TYPE.CONTEST_JSON) {
// get v5 id of groups
Set<Map<String, String>> projectGroupUser = DirectUtils.getGroups(DirectUtils.getTCSubjectFromSession(),
userGroupsApiEndpoint);
Expand Down

0 comments on commit a4a9823

Please sign in to comment.