packages feed

couchdb-conduit 0.1.0.0 → 0.1.0.1

raw patch · 2 files changed

+3/−2 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

couchdb-conduit.cabal view
@@ -1,5 +1,5 @@ name:           couchdb-conduit-version:        0.1.0.0
+version:        0.1.0.1
 cabal-version:  >= 1.8 build-type:     Simple stability:      Experimental
src/Database/CouchDB/Conduit.hs view
@@ -170,6 +170,7 @@     -> m a
 withCouchConnection c@(CouchConnection _ _ mayMan _) f = 
     case mayMan of
+        -- Allocate manager with helper
         Nothing -> H.withManager $ \m -> lift $ f $ c {couchManager = Just m}
-        Just m -> runResourceT $ lift $ f $ c {couchManager = Just m}
+        _ -> f c