Merge branch 'master' of github.com:thingsboard/thingsboard
This commit is contained in:
commit
a962483244
@ -222,7 +222,7 @@ public class DefaultNotificationSettingsService implements NotificationSettingsS
|
|||||||
} else {
|
} else {
|
||||||
var requiredNotificationTypes = List.of(NotificationType.EDGE_CONNECTION, NotificationType.EDGE_COMMUNICATION_FAILURE);
|
var requiredNotificationTypes = List.of(NotificationType.EDGE_CONNECTION, NotificationType.EDGE_COMMUNICATION_FAILURE);
|
||||||
var existingNotificationTypes = notificationTemplateService.findNotificationTemplatesByTenantIdAndNotificationTypes(
|
var existingNotificationTypes = notificationTemplateService.findNotificationTemplatesByTenantIdAndNotificationTypes(
|
||||||
tenantId, requiredNotificationTypes, new PageLink(1))
|
tenantId, requiredNotificationTypes, new PageLink(2))
|
||||||
.getData()
|
.getData()
|
||||||
.stream()
|
.stream()
|
||||||
.map(NotificationTemplate::getNotificationType)
|
.map(NotificationTemplate::getNotificationType)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user