Use 'var' instead of explicit type

(cherry picked from commit 12374f7f0038e5b25548f5ab3f71122410832393)

Closes #2559
This commit is contained in:
Bogdan
2023-05-23 13:52:39 +03:00
parent 89dd4d3271
commit d1aff31593
92 changed files with 205 additions and 206 deletions

View File

@@ -62,7 +62,7 @@ namespace NzbDrone.Core.Queue
private Queue MapQueueItem(TrackedDownload trackedDownload, Book book)
{
bool downloadForced = false;
var downloadForced = false;
var history = _historyService.Find(trackedDownload.DownloadItem.DownloadId, EntityHistoryEventType.Grabbed).FirstOrDefault();
if (history != null && history.Data.ContainsKey("downloadForced"))
{