diff --git a/src/main/java/app/teamwize/api/leave/service/LeaveService.java b/src/main/java/app/teamwize/api/leave/service/LeaveService.java index b9baf05..a39a001 100644 --- a/src/main/java/app/teamwize/api/leave/service/LeaveService.java +++ b/src/main/java/app/teamwize/api/leave/service/LeaveService.java @@ -77,7 +77,7 @@ public Leave createLeave(Long organizationId, Long userId, LeaveCreateCommand co dayOff = leaveRepository.persist(dayOff); - eventService.emmit(organizationId, new LeaveCreatedEvent(new LeaveEventPayload(dayOff), new UserEventPayload(user))); + // eventService.emmit(organizationId, new LeaveCreatedEvent(new LeaveEventPayload(dayOff), new UserEventPayload(user))); return dayOff; }