From 2155fc943a6c27cc6da7a03df2175647a9a80747 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Tue, 27 Feb 2024 21:25:02 +0800 Subject: [PATCH] Fix visibility of logging in ItemSharesController Signed-off-by: Claudio Cambra --- .../FileProviderExt/Shares/ItemSharesController.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell_integration/MacOSX/NextcloudIntegration/FileProviderExt/Shares/ItemSharesController.swift b/shell_integration/MacOSX/NextcloudIntegration/FileProviderExt/Shares/ItemSharesController.swift index d8b8ef51c..6db1a9166 100644 --- a/shell_integration/MacOSX/NextcloudIntegration/FileProviderExt/Shares/ItemSharesController.swift +++ b/shell_integration/MacOSX/NextcloudIntegration/FileProviderExt/Shares/ItemSharesController.swift @@ -21,7 +21,7 @@ class ItemSharesController { func fetch() async -> [NKShare]? { let rawIdentifier = itemIdentifier.rawValue - Logger.shares.info("Fetching shares for item \(rawIdentifier)") + Logger.shares.info("Fetching shares for item \(rawIdentifier, privacy: .public)") guard let baseUrl = parentExtension.ncAccount?.davFilesUrl else { Logger.shares.error("Could not fetch shares as ncAccount on parent extension is nil") @@ -30,7 +30,7 @@ class ItemSharesController { let dbManager = NextcloudFilesDatabaseManager.shared guard let item = dbManager.itemMetadataFromFileProviderItemIdentifier(itemIdentifier) else { - Logger.shares.error("No item \(rawIdentifier) in database, no shares.") + Logger.shares.error("No item \(rawIdentifier, privacy: .public) in db, no shares.") return nil } -- 2.30.2