summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-10-22 00:00:19 +0200
committertv <tv@krebsco.de>2016-10-22 00:06:12 +0200
commit15e2dbff3d7c0420a483564396306fdd7f81896e (patch)
treee6f687d7e9576720258200675cb1393364d35b7b
parent85e9ee3ff005fe7f093f803c424801c5bfde7f49 (diff)
migrate to wreq 0.4ni/master
-rw-r--r--Regfish.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Regfish.hs b/Regfish.hs
index a0c70db..7a1a5f0 100644
--- a/Regfish.hs
+++ b/Regfish.hs
@@ -132,7 +132,7 @@ regfishGet url =
Just _ -> do
--putStrLn $ "GET " <> url
- let opts = W.defaults & W.cookies .~ cj
+ let opts = W.defaults & W.cookies .~ Just cj
res <- liftIO $ W.getWith opts url
@@ -166,7 +166,7 @@ regfishPost url params = do
Just _ -> do
--putStrLn $ "POST " <> url <> " " <> show params
- let opts = W.defaults & W.cookies .~ cj
+ let opts = W.defaults & W.cookies .~ Just cj
res <- liftIO $ W.postWith opts url params