diff options
Diffstat (limited to '')
-rw-r--r-- | lib/Types.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Types.hs b/lib/Types.hs index 978ada2..3ec9ebc 100644 --- a/lib/Types.hs +++ b/lib/Types.hs @@ -93,6 +93,9 @@ instance ToJSON Lint where toJSON (Offers l) = A.object [ "msg" .= prettyprint l , "level" .= A.String "Entrypoint Info" ] + toJSON (Badge _) = A.object + [ "msg" .= A.String "found a badge" + , "level" .= A.String "Badge Info"] instance ToJSON Hint where toJSON (Hint l m) = A.object |