Skip to content

Commit

Permalink
Added expiry date to payload for edit
Browse files Browse the repository at this point in the history
  • Loading branch information
arcshiftsolutions committed May 8, 2024
1 parent 9a63940 commit 2cdcd91
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ public List<EdxSchool> findAllDistrictEdxUsers(String districtID) {
tomb.setFullName(edxUserEntity.getFirstName() + " " + edxUserEntity.getLastName());
var rolesMap = getEdxRolesMap();
tomb.setSchoolRoles(edxUserSchoolEntity.getEdxUserSchoolRoleEntities().stream().map(edxSchool -> rolesMap.get(edxSchool.getEdxRoleCode()).getLabel()).toList());
tomb.setSchoolRoleCodes(edxUserSchoolEntity.getEdxUserSchoolRoleEntities().stream().map(edxSchool -> rolesMap.get(edxSchool.getEdxRoleCode()).getEdxRoleCode()).toList());

edxSchools.get(schoolID).getEdxDistrictSchoolUsers().add(tomb);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ public class EdxDistrictSchoolUserTombstone implements Serializable {

private List<String> schoolRoles;

private List<String> schoolRoleCodes;

String email;
}

Expand Down

0 comments on commit 2cdcd91

Please sign in to comment.