From 4bbee436020fae6be5a70a980743b51e56effc8a Mon Sep 17 00:00:00 2001 From: Diogo Date: Thu, 31 Oct 2024 10:50:13 +0000 Subject: [PATCH] fix ChatLandingSection serialized type --- src/Simplex/Chat/Controller.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Simplex/Chat/Controller.hs b/src/Simplex/Chat/Controller.hs index 8b83c861b3..6e60cbda6c 100644 --- a/src/Simplex/Chat/Controller.hs +++ b/src/Simplex/Chat/Controller.hs @@ -1598,7 +1598,7 @@ $(JQ.deriveJSON (sumTypeJSON $ dropPrefix "RCSR") ''RemoteCtrlStopReason) $(JQ.deriveJSON (sumTypeJSON $ dropPrefix "RHSR") ''RemoteHostStopReason) -$(JQ.deriveJSON (sumTypeJSON $ dropPrefix "CLS") ''ChatLandingSection) +$(JQ.deriveJSON (enumJSON $ dropPrefix "CLS") ''ChatLandingSection) $(JQ.deriveJSON (sumTypeJSON $ dropPrefix "CR") ''ChatResponse)