Skip to content

Commit

Permalink
Merge pull request #423 from RADAR-base/minor-patches
Browse files Browse the repository at this point in the history
Minor fixes
  • Loading branch information
mpgxvii authored Mar 2, 2023
2 parents c5bdebb + b9a9b8d commit 42d2ab5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ ext {
bootAdminVersion = '2.6.4'
throwingFunctionVersion = '1.5.1'
junit5Version = '5.8.2'
radarSpringAuthVersion = '1.1.4'
radarSpringAuthVersion = '1.1.5'
}

sourceSets {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ public NotificationStateEventService(

@Transactional
public void addNotificationStateEvent(NotificationStateEvent notificationStateEvent) {
if (notificationStateEvent.getState() == MessageState.CANCELLED) {
// the notification will be removed shortly
return;
}
notificationStateEventRepository.save(notificationStateEvent);
}

Expand Down

0 comments on commit 42d2ab5

Please sign in to comment.