Skip to content

Commit

Permalink
Fixing: Assign project to team was not saved
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Dugalic committed Feb 3, 2018
1 parent 400bf8c commit fdc53c1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public void handle(AssignProjectToTeamSucceededEvent event, @SequenceNumber Long
Team team = myAggregateRepository.findOne(event.getId());
team.setProject(projectRepository.findOne(event.getProjectId()));
team.setAggregateVersion(version);
myAggregateRepository.save(team);
}

@EventHandler
Expand Down

0 comments on commit fdc53c1

Please sign in to comment.