From b1d98c2b62633c0792637eaa442af4d6d8a9bbd1 Mon Sep 17 00:00:00 2001 From: Flaminel Date: Thu, 27 Feb 2025 22:23:59 +0200 Subject: [PATCH] fixed category changing --- .../Verticals/DownloadClient/QBittorrent/QBitService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/Infrastructure/Verticals/DownloadClient/QBittorrent/QBitService.cs b/code/Infrastructure/Verticals/DownloadClient/QBittorrent/QBitService.cs index ff17942..8fc0994 100644 --- a/code/Infrastructure/Verticals/DownloadClient/QBittorrent/QBitService.cs +++ b/code/Infrastructure/Verticals/DownloadClient/QBittorrent/QBitService.cs @@ -421,11 +421,12 @@ public class QBitService : DownloadService, IQBitService } await _dryRunInterceptor.InterceptAsync(ChangeCategory, download.Hash, _downloadCleanerConfig.NoHardLinksCategory); - download.Category = _downloadCleanerConfig.NoHardLinksCategory; _logger.LogInformation("category changed for {name}", download.Name); await _notifier.NotifyCategoryChanged(download.Category, _downloadCleanerConfig.NoHardLinksCategory); + + download.Category = _downloadCleanerConfig.NoHardLinksCategory; } }