google-oauth2 0.2.1 → 0.2.2
raw patch · 2 files changed
+4/−4 lines, 2 filesdep ~aesonPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: aeson
API changes (from Hackage documentation)
Files
- google-oauth2.cabal +2/−2
- src/Network/Google/OAuth2.hs +2/−2
google-oauth2.cabal view
@@ -1,5 +1,5 @@ Name: google-oauth2-Version: 0.2.1+Version: 0.2.2 Author: Pat Brisbin <pbrisbin@gmail.com> Maintainer: Pat Brisbin <pbrisbin@gmail.com> License: MIT@@ -57,7 +57,7 @@ Exposed-Modules: Network.Google.OAuth2 Build-Depends: base >= 4 && < 5 , HTTP >= 4000.2 && < 4000.4- , aeson >= 0.8 && < 0.10+ , aeson >= 0.8 && < 0.12 , bytestring , http-conduit Default-Extensions: OverloadedStrings
src/Network/Google/OAuth2.hs view
@@ -34,7 +34,7 @@ ( Response(..) , httpLbs , newManager- , parseUrl+ , parseUrlThrow , tlsManagerSettings , urlEncodedBody )@@ -185,7 +185,7 @@ postTokens :: FromJSON a => [(ByteString, String)] -> IO a postTokens params = do- request <- parseUrl "https://accounts.google.com/o/oauth2/token"+ request <- parseUrlThrow "https://accounts.google.com/o/oauth2/token" let params' = map (second C8.pack) params