Skip to content

Commit e45d15c

Browse files
author
Poscat
committed
Fix constructor tag conversion for ChatStatus
1 parent 4d05e27 commit e45d15c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Web/Telegram/Types/Internal/Common.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ data ChatStatus
280280
deriving (Show, Eq, Generic, Default)
281281
deriving
282282
(FromJSON, ToJSON)
283-
via UntaggedSum ChatStatus
283+
via CustomJSON '[SumUntaggedValue, ConstructorTagModifier CamelToSnake] ChatStatus
284284
deriving (ToHttpApiData) via Serialize ChatStatus
285285

286286
data ChatMember

0 commit comments

Comments
 (0)