From 32b14908ddc4bff14cfdd4f23a5cfbaafbbebb0b Mon Sep 17 00:00:00 2001 From: Carl Johnsen Date: Fri, 16 May 2025 15:50:36 +0200 Subject: [PATCH] Default message to reusable transaction should be null - i.e. empty. --- Duplicati/Library/Main/Database/ReusableTransaction.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Duplicati/Library/Main/Database/ReusableTransaction.cs b/Duplicati/Library/Main/Database/ReusableTransaction.cs index 7052b1a6f..5d2179e6e 100644 --- a/Duplicati/Library/Main/Database/ReusableTransaction.cs +++ b/Duplicati/Library/Main/Database/ReusableTransaction.cs @@ -82,7 +82,7 @@ internal class ReusableTransaction(LocalDatabase db, SqliteTransaction? transact /// True if the transaction should be restarted. /// An awaitable task. /// If the transaction is already Disposed. - public async Task CommitAsync(string? message, bool restart = true) + public async Task CommitAsync(string? message = null, bool restart = true) { if (m_disposed) throw new InvalidOperationException("Transaction is already disposed");