Refactor: Make the observable match the new Notification logic
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user