diff options
author | tv <tv@krebsco.de> | 2016-10-22 00:00:19 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2016-10-22 00:06:12 +0200 |
commit | 15e2dbff3d7c0420a483564396306fdd7f81896e (patch) | |
tree | e6f687d7e9576720258200675cb1393364d35b7b | |
parent | 85e9ee3ff005fe7f093f803c424801c5bfde7f49 (diff) |
migrate to wreq 0.4ni/master
-rw-r--r-- | Regfish.hs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |