From 7b0d4f6243cc4593453cd353538040349fe7839a Mon Sep 17 00:00:00 2001 From: patrick brisbin Date: Mon, 8 Jul 2024 10:19:33 -0400 Subject: [PATCH] HLint --- src/Yesod/Auth/OAuth2/Google.hs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Yesod/Auth/OAuth2/Google.hs b/src/Yesod/Auth/OAuth2/Google.hs index 77e7726..0fc3475 100644 --- a/src/Yesod/Auth/OAuth2/Google.hs +++ b/src/Yesod/Auth/OAuth2/Google.hs @@ -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"