mirror of
https://github.com/freckle/yesod-auth-oauth2.git
synced 2026-01-11 19:58:28 +01:00
HLint
This commit is contained in:
parent
07c6ea6875
commit
7b0d4f6243
@ -39,9 +39,8 @@ newtype User = User Text
|
|||||||
instance FromJSON User where
|
instance FromJSON User where
|
||||||
parseJSON =
|
parseJSON =
|
||||||
withObject "User" $ \o ->
|
withObject "User" $ \o ->
|
||||||
User
|
-- Required for data backwards-compatibility
|
||||||
-- Required for data backwards-compatibility
|
User . ("google-uid:" <>) <$> o .: "sub"
|
||||||
<$> (("google-uid:" <>) <$> o .: "sub")
|
|
||||||
|
|
||||||
pluginName :: Text
|
pluginName :: Text
|
||||||
pluginName = "google"
|
pluginName = "google"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user