Skip to content

Commit

Permalink
Merge pull request #34 from nowgnas/hotfix/admin-sse
Browse files Browse the repository at this point in the history
🚑 Amend admin sse
  • Loading branch information
indl1670 authored Jan 8, 2024
2 parents 3158500 + 29b3dfa commit f6a8285
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ public void publishQuestionRegisterNotification(

public void publishNewComerNotification(NotificationData<Void> notification) {
NotificationInformation sseNotification =
NotificationInformation.getSSEData(notification.getPublishInformation(), 1L);
NotificationInformation.getSSEData(notification.getPublishInformation(), 100L);
sse.publish(sseNotification);

// save notification
notificationCommandService.saveSingleNotification(notification.getPublishInformation(), 1L);
notificationCommandService.saveSingleNotification(notification.getPublishInformation(), 100L);
}

public void publishNewOrderNotification(NotificationData<NewOrderEventItem> notification) {
Expand Down

0 comments on commit f6a8285

Please sign in to comment.