Skip to content

Commit

Permalink
Merge pull request #2122 from bcgov/fix/edx-3092
Browse files Browse the repository at this point in the history
revert.
  • Loading branch information
alexmcdermid authored Jan 6, 2025
2 parents e29149a + 9fe7043 commit 0bcb25a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/src/components/sdc.js
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,8 @@ async function updateAndValidateSdcSchoolCollectionStudent(req, res) {

payload.sdcSchoolCollectionStudentValidationIssues = null;
payload.sdcSchoolCollectionStudentEnrolledPrograms = null;
if (payload?.numberOfCourses) {
payload.numberOfCourses = stripNumberFormattingNumberOfCourses(payload.numberOfCourses);
if (payload?.numberOfCoursesDec) {
payload.numberOfCourses = stripNumberFormattingNumberOfCourses(payload.numberOfCoursesDec);
}
const data = await postData(token, payload, config.get('sdc:schoolCollectionStudentURL') + '/false', req.session?.correlationID);
if(studentLock) {
Expand Down

0 comments on commit 0bcb25a

Please sign in to comment.