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)