Skip to content

Commit

Permalink
Merge pull request #240 from bcgov/fix/school-moved-not-emitting-even…
Browse files Browse the repository at this point in the history
…ts-to-nats

Fix SCHOOL_MOVED event publishing
  • Loading branch information
arcshiftsolutions authored Jul 30, 2024
2 parents 917eee9 + a873214 commit e2dcf9b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,7 @@ public Pair<MoveSchoolData, InstituteEvent> moveSchool(MoveSchoolData moveSchool
final InstituteEvent instituteEvent = EventUtil.createInstituteEvent(
movedSchool.getUpdateUser(), movedSchool.getUpdateUser(),
JsonUtil.getJsonStringFromObject(moveSchoolData), MOVE_SCHOOL, SCHOOL_MOVED);
instituteEventRepository.save(instituteEvent);
return Pair.of(moveSchoolData, instituteEvent);
}

Expand Down

0 comments on commit e2dcf9b

Please sign in to comment.