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
|
||||
parseJSON =
|
||||
withObject "User" $ \o ->
|
||||
User
|
||||
-- Required for data backwards-compatibility
|
||||
<$> (("google-uid:" <>) <$> o .: "sub")
|
||||
-- Required for data backwards-compatibility
|
||||
User . ("google-uid:" <>) <$> o .: "sub"
|
||||
|
||||
pluginName :: Text
|
||||
pluginName = "google"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user