From 15e2dbff3d7c0420a483564396306fdd7f81896e Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 22 Oct 2016 00:00:19 +0200 Subject: migrate to wreq 0.4 --- Regfish.hs | 4 ++-- 1 file 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 -- cgit v1.2.3