Skip to content

Commit

Permalink
change verbiage in client message
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmcdermid committed Jul 5, 2024
1 parent 2d05e7d commit f94284e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/components/sdc/sdc.js
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ async function updateAndValidateSdcSchoolCollectionStudent(req, res) {
} else if (e.status === 400 && e.data.message === 'SdcSchoolCollectionStudent was not saved to the database because it would create provincial duplicate.') {
return res.status(HttpStatus.CONFLICT).json({
status: HttpStatus.CONFLICT,
message: 'Saving this student would result in a duplicate record and is not allowed. Please check the student details and try again.'
message: 'Student was not saved because it would create provincial duplicate.'
});
}
return handleExceptionResponse(e, res);
Expand Down

0 comments on commit f94284e

Please sign in to comment.