Skip to content

Commit

Permalink
Merge pull request #229 from bcgov/fix/expiryDate
Browse files Browse the repository at this point in the history
Update EdxUsersService.java
  • Loading branch information
arcshiftsolutions authored Oct 6, 2023
2 parents 63c28ae + 758c62c commit 790dc2e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,7 @@ private EdxUserSchoolEntity createEdxUserSchoolFromActivationCodeDetails(EdxActi
EdxUserSchoolEntity userSchoolEntity = new EdxUserSchoolEntity();
userSchoolEntity.setEdxUserEntity(edxUser);
userSchoolEntity.setSchoolID(activationCode.getSchoolID());
userSchoolEntity.setExpiryDate(activationCode.getExpiryDate());
updateAuditColumnsForEdxUserSchoolEntity(edxActivateUser, userSchoolEntity);
return userSchoolEntity;
}
Expand All @@ -612,6 +613,7 @@ private EdxUserDistrictEntity createEdxUserDistrictFromActivationCodeDetails(Edx
EdxUserDistrictEntity userDistrictEntity = new EdxUserDistrictEntity();
userDistrictEntity.setEdxUserEntity(edxUser);
userDistrictEntity.setDistrictID(activationCode.getDistrictID());
userDistrictEntity.setExpiryDate(activationCode.getExpiryDate());
updateAuditColumnsForEdxUserDistrictEntity(edxActivateUser, userDistrictEntity);
return userDistrictEntity;
}
Expand Down

0 comments on commit 790dc2e

Please sign in to comment.