From fa5e0c8cb2be371d8a900f968a93281811f90d6d Mon Sep 17 00:00:00 2001 From: nek0 Date: Mon, 9 Sep 2019 12:57:36 +0200 Subject: [PATCH] add missing FromJSON instance to AuthResult --- src/Types/Auth.hs | 2 ++ 1 file changed, 2 insertions(+) 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)