add missing FromJSON instance to AuthResult

This commit is contained in:
nek0 2019-09-09 12:57:36 +02:00
parent 886651cac2
commit fa5e0c8cb2
1 changed files with 2 additions and 0 deletions

View File

@ -105,6 +105,8 @@ data AuthResult
instance ToJSON AuthResult where
toEncoding = genericToEncoding defaultOptions
instance FromJSON AuthResult
newtype AuthToken = AuthToken ByteString deriving (Show)