diff --git a/Myshipping.Application/Service/BookingSlot/BookingSlotService.cs b/Myshipping.Application/Service/BookingSlot/BookingSlotService.cs index b0582d17..31ee45d5 100644 --- a/Myshipping.Application/Service/BookingSlot/BookingSlotService.cs +++ b/Myshipping.Application/Service/BookingSlot/BookingSlotService.cs @@ -1090,7 +1090,7 @@ namespace Myshipping.Application [HttpPost("/BookingSlot/refreshAllStock")] public async Task RefreshAllStock([FromBody] long telentId) { - await _repBase.DeleteAsync(x => x.TenantId == UserManager.TENANT_ID); + await _repStock.DeleteAsync(x => x.TenantId == telentId); var logger = App.GetService>(); BookingSlotStockSubscriber subscriber = new BookingSlotStockSubscriber(logger);