Skip to content

Commit

Permalink
feat: disable emit in leave service
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsenk committed Jan 3, 2025
1 parent d57c3f9 commit 5ff2dbe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 5ff2dbe

Please sign in to comment.