mirror of
https://github.com/freckle/yesod-auth-oauth2.git
synced 2026-02-10 10:07:30 +01:00
Whitespace
This commit is contained in:
parent
a5c691512e
commit
646d2b246b
@ -64,7 +64,7 @@ oauth2Learn clientId clientSecret = authOAuth2 "learn"
|
||||
fetchLearnProfile :: Manager -> AccessToken -> IO (Creds m)
|
||||
fetchLearnProfile manager token = do
|
||||
result <- authGetJSON manager token "http://learn.thoughtbot.com/api/v1/me.json"
|
||||
|
||||
|
||||
case result of
|
||||
Right (LearnResponse user) -> return $ toCreds user
|
||||
Left err -> throwIO $ InvalidProfileResponse "learn" err
|
||||
|
||||
Loading…
Reference in New Issue
Block a user