From 3ea7f9aa24429d0e381c6cb0a41eb3bce8f3b5a3 Mon Sep 17 00:00:00 2001 From: ahmetfarukulu Date: Thu, 14 Mar 2024 12:23:20 +0300 Subject: [PATCH] TenantAppService.DeleteDefaultConnectionStringAsync fixed --- .../Volo/Abp/TenantManagement/TenantAppService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/tenant-management/src/Volo.Abp.TenantManagement.Application/Volo/Abp/TenantManagement/TenantAppService.cs b/modules/tenant-management/src/Volo.Abp.TenantManagement.Application/Volo/Abp/TenantManagement/TenantAppService.cs index 129a2a5433..e902482c43 100644 --- a/modules/tenant-management/src/Volo.Abp.TenantManagement.Application/Volo/Abp/TenantManagement/TenantAppService.cs +++ b/modules/tenant-management/src/Volo.Abp.TenantManagement.Application/Volo/Abp/TenantManagement/TenantAppService.cs @@ -149,6 +149,7 @@ public class TenantAppService : TenantManagementAppServiceBase, ITenantAppServic { var tenant = await TenantRepository.GetAsync(id); tenant.RemoveDefaultConnectionString(); + await LocalEventBus.PublishAsync(new TenantChangedEvent(tenant.Id, tenant.NormalizedName)); await TenantRepository.UpdateAsync(tenant); } }