diff --git a/src/Types/Auth.hs b/src/Types/Auth.hs index 5e34cf5..275dbe0 100644 --- a/src/Types/Auth.hs +++ b/src/Types/Auth.hs @@ -105,6 +105,8 @@ data AuthResult instance ToJSON AuthResult where toEncoding = genericToEncoding defaultOptions +instance FromJSON AuthResult + newtype AuthToken = AuthToken ByteString deriving (Show)