Skip to content

Commit

Permalink
๐Ÿ›  :: (#856) ์ฝ”๋“œ ์ปจ๋ฒค์…˜
Browse files Browse the repository at this point in the history
  • Loading branch information
4mjeo committed Nov 21, 2024
1 parent 319e137 commit 844c8cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class RejectApplicationUseCase {
public void execute(Long applicationId, String rejectReason) {
Application application = queryApplicationPort.getByIdOrThrow(applicationId);

publishEventPort.publishEvent(new SingleApplicationStatusChangedEvent(application, ApplicationStatus.REJECTED));
commandApplicationPort.save(application.rejectApplication(rejectReason));
publishEventPort.publishEvent(new SingleApplicationStatusChangedEvent(application, ApplicationStatus.REJECTED));
}
}

0 comments on commit 844c8cc

Please sign in to comment.