This commit is contained in:
patrick brisbin 2024-07-08 10:19:33 -04:00
parent f67fce7dd8
commit 046f315341
No known key found for this signature in database
GPG Key ID: 07BF97A312D7F34C

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"