Browse Source

Update entity limit management link for entities limit request notification.

pull/14563/head
Igor Kulikov 10 months ago
parent
commit
6f1dcba016
  1. 2
      application/src/main/java/org/thingsboard/server/controller/NotificationController.java

2
application/src/main/java/org/thingsboard/server/controller/NotificationController.java

@ -312,7 +312,7 @@ public class NotificationController extends BaseController {
.entityType(entityType)
.userEmail(user.getEmail())
.increaseLimitActionLabel("Set new limit")
.increaseLimitLink("/tenantProfiles/"+tenantService.findTenantById(user.getTenantId()).getTenantProfileId().toString())
.increaseLimitLink("/tenants/"+user.getTenantId().toString())
.baseUrl(baseUrl)
.build();
notificationCenter.sendSystemNotification(TenantId.SYS_TENANT_ID, notificationTargetId, NotificationType.ENTITIES_LIMIT_INCREASE_REQUEST, info);

Loading…
Cancel
Save