Skip to content

Commit eeeed2d

Browse files
Small fix
1 parent 553bb9e commit eeeed2d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/src/main/java/ca/bc/gov/educ/api/pen/replication/service/TraxStudentCourseService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public List<TraxStudentCourseEntity> findTraxStudentCoursesByPen(final String pe
3030
public void deletePriorAndSaveTraxStudentCourses(final List<TraxStudentCourseEntity> existingCourseList, final List<TraxStudentCourseEntity> studentCourseEntityList) {
3131
try {
3232
this.traxStudentCourseRepository.deleteAll(existingCourseList);
33-
this.traxStudentCourseRepository.saveAllAndFlush(studentCourseEntityList);
33+
this.traxStudentCourseRepository.saveAll(studentCourseEntityList);
3434
} catch (Exception e) {
3535
log.warn("Exception", e);
3636
throw e;

0 commit comments

Comments
 (0)