Refactor: Make the observable match the new Notification logic

This commit is contained in:
Namu
2025-10-06 09:15:36 +02:00
parent 3065d1bfe3
commit d868ec63c9

View File

@@ -22,7 +22,7 @@ public class NotificationObservable {
for (final var subscriber : this.subscribers) {
for (final var notificationType : subscriber.notificationsTypes()) {
var notification = factory.createNotification(notificationType, content, subscriber, subscriber.chosenNotificationStrategy());
notification.send();
System.out.println(notification.getContent());
}
}
}