From a0ab224acdb585db7f1828e9fc34b9ecfa8c503a Mon Sep 17 00:00:00 2001 From: Bogdan Date: Sun, 24 Dec 2023 02:08:22 +0200 Subject: [PATCH] Log payload for set fields request in Calibre --- src/NzbDrone.Core/Books/Calibre/CalibreProxy.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/NzbDrone.Core/Books/Calibre/CalibreProxy.cs b/src/NzbDrone.Core/Books/Calibre/CalibreProxy.cs index 1763f53a8..9ed6d341d 100644 --- a/src/NzbDrone.Core/Books/Calibre/CalibreProxy.cs +++ b/src/NzbDrone.Core/Books/Calibre/CalibreProxy.cs @@ -8,6 +8,7 @@ using System.Threading.Tasks; using FluentValidation; using FluentValidation.Results; +using Newtonsoft.Json; using NLog; using NzbDrone.Common.Cache; using NzbDrone.Common.Disk; @@ -304,6 +305,7 @@ private void ExecuteSetFields(int id, CalibreChangesPayload payload, CalibreSett var request = builder.Build(); request.SetContent(payload.ToJson()); + request.ContentSummary = payload.ToJson(Formatting.None); _httpClient.Execute(request); }