From f6f23119cf4018cd7610fe47f5abb1fdfd45183d Mon Sep 17 00:00:00 2001 From: Alexander Bondarenko <486682+dpwiz@users.noreply.github.com> Date: Fri, 26 Apr 2024 18:57:11 +0300 Subject: [PATCH] don't omit nulls in debug objects --- src/Simplex/Chat/Controller.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Simplex/Chat/Controller.hs b/src/Simplex/Chat/Controller.hs index daf9c3cf8a..ec6224dce8 100644 --- a/src/Simplex/Chat/Controller.hs +++ b/src/Simplex/Chat/Controller.hs @@ -1491,9 +1491,9 @@ $(JQ.deriveJSON (sumTypeJSON $ dropPrefix "RCSR") ''RemoteCtrlStopReason) $(JQ.deriveJSON (sumTypeJSON $ dropPrefix "RHSR") ''RemoteHostStopReason) -$(JQ.deriveJSON defaultJSON ''AgentDeliveryStatus) +$(JQ.deriveJSON J.defaultOptions ''AgentDeliveryStatus) -$(JQ.deriveJSON defaultJSON ''DebugConnectionStatus) +$(JQ.deriveJSON J.defaultOptions ''DebugConnectionStatus) $(JQ.deriveJSON (sumTypeJSON $ dropPrefix "CR") ''ChatResponse)