This commit is contained in:
patrick brisbin 2024-07-08 10:19:33 -04:00 committed by Pat Brisbin
parent 07c6ea6875
commit 7b0d4f6243

View File

@ -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"