packages feed

hoauth2 0.4.1 → 0.4.2

raw patch · 2 files changed

+2/−2 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

hoauth2.cabal view
@@ -1,6 +1,6 @@ Name:                hoauth2 -- (http://www.haskell.org/haskellwiki/Package_versioning_policy)-Version:             0.4.1+Version:             0.4.2  Synopsis:            hoauth2 Description:
src/Network/OAuth/OAuth2/HttpClient.hs view
@@ -129,7 +129,7 @@ -- handleResponse :: Response BSL.ByteString -> OAuth2Result BSL.ByteString handleResponse rsp =-    if HT.statusCode (responseStatus rsp) == 200+    if HT.statusIsSuccessful (responseStatus rsp)         then Right $ responseBody rsp         else Left $ BSL.append "Gaining token failed: " (responseBody rsp)