Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavofg1pontes committed Oct 7, 2024
1 parent 02c6612 commit 6a13b80
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public CreateEnrollmentOutput execute(CreateEnrollmentInput anIn) {
Notification.create("Event is not opened").append("Event is not open for enrollment").throwPossibleErrors();

alreadyExists = this.enrollmentGateway.existsByDocumentAndEventID(document, eventID);

System.out.println(alreadyExists);
if (alreadyExists) {
Notification.create("Validation Error").append("User already enrolled in this event").throwPossibleErrors();
}
Expand Down

0 comments on commit 6a13b80

Please sign in to comment.