Notify the corresponding tenant
MODIFY
src/server/rest/CentralRestServer.ts
src/server/rest/CentralRestServer.ts
@@ -211,6 +211,12 @@ export default class CentralRestServer {
public notifyTenant(tenantID: string, action: Action, data: NotificationData): void {
// Add in buffer
+ this.addSingleChangeNotificationInBuffer({
+ 'tenantID': data.id,
+ 'entity': Entity.TENANT,
+ 'action': action,
+ 'data': data
+ });
this.addSingleChangeNotificationInBuffer({
'tenantID': tenantID,
'entity': Entity.TENANT,

Notify the corresponding tenant