Send notification about new platform version only to sysadmins

This commit is contained in:
ViacheslavKlimov 2023-05-03 13:35:01 +03:00
parent c39e8568ae
commit 84e39af7c7
2 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ public class DefaultNotificationSettingsService implements NotificationSettingsS
defaultNotifications.create(tenantId, DefaultNotifications.apiFeatureDisabledForSysadmin, sysAdmins.getId());
defaultNotifications.create(tenantId, DefaultNotifications.apiFeatureDisabledForTenant, affectedTenantAdmins.getId());
defaultNotifications.create(tenantId, DefaultNotifications.newPlatformVersion, sysAdmins.getId(), tenantAdmins.getId());
defaultNotifications.create(tenantId, DefaultNotifications.newPlatformVersion, sysAdmins.getId());
return;
}

View File

@ -143,7 +143,7 @@ public class DefaultNotifications {
.rule(DefaultRule.builder()
.name("New platform version")
.triggerConfig(new NewPlatformVersionNotificationRuleTriggerConfig())
.description("Send notification to system admins and tenant admins when new platform version is available")
.description("Send notification to system admins when new platform version is available")
.build())
.build();