From 5c56e4796f1b7f6332fcc3e640b6449832c179a5 Mon Sep 17 00:00:00 2001 From: ThatBen Date: Fri, 28 Feb 2025 16:45:14 +0100 Subject: [PATCH] Debugs local file fetch --- Tools/AutoClient/Modes/FolderStore/FileSaver.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Tools/AutoClient/Modes/FolderStore/FileSaver.cs b/Tools/AutoClient/Modes/FolderStore/FileSaver.cs index e4b460ae..62ddf5e2 100644 --- a/Tools/AutoClient/Modes/FolderStore/FileSaver.cs +++ b/Tools/AutoClient/Modes/FolderStore/FileSaver.cs @@ -108,10 +108,8 @@ namespace AutoClient.Modes.FolderStore var result = instance.Node.LocalFiles(); if (result == null) return false; if (result.Content == null) return false; - - var localCids = result.Content.Where(c => c.Cid != null && !string.IsNullOrEmpty(c.Cid.Id)).Select(c => c.Cid.Id).ToArray(); - Log("Local CIDs: " + string.Join(",", localCids)); - + + var localCids = result.Content.Where(c => !string.IsNullOrEmpty(c.Cid.Id)).Select(c => c.Cid.Id).ToArray(); var isFound = localCids.Any(c => c.ToLowerInvariant() == entry.BasicCid.ToLowerInvariant()); if (isFound) {