about summary refs log tree commit diff
path: root/users/Profpatsch/whatcd-resolver/src/JsonLd.hs
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2024-08-04T09·09+0200
committerProfpatsch <mail@profpatsch.de>2024-08-06T09·59+0000
commit8908fd18ca1603a24b234f9e1a01375dddf0b39b (patch)
treee131cea6cee7414c03aa7d9fb53c7e2391092249 /users/Profpatsch/whatcd-resolver/src/JsonLd.hs
parent59056cf7056cdda4352da7f99ac4fddd345a54bf (diff)
refactor(users/Profpatsch/whatcd-resolver): start moving http stuff r/8444
There’s a bunch of duplication in how http client things are done,
let’s move that all to a single module.

Change-Id: Ic08c9bce49d562e4fa640a5bdfc15973a28a7bcb
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12135
Reviewed-by: Profpatsch <mail@profpatsch.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/Profpatsch/whatcd-resolver/src/JsonLd.hs')
-rw-r--r--users/Profpatsch/whatcd-resolver/src/JsonLd.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/users/Profpatsch/whatcd-resolver/src/JsonLd.hs b/users/Profpatsch/whatcd-resolver/src/JsonLd.hs
index 1a021b706c63..80d04f8e78a5 100644
--- a/users/Profpatsch/whatcd-resolver/src/JsonLd.hs
+++ b/users/Profpatsch/whatcd-resolver/src/JsonLd.hs
@@ -11,16 +11,15 @@ import Data.Map.Strict qualified as Map
 import Data.Set (Set)
 import Data.Set qualified as Set
 import Html qualified
+import Http
 import IHP.HSX.QQ (hsx)
 import Json qualified
 import Label
 import MyPrelude
 import Network.HTTP.Client.Conduit qualified as Http
-import Network.HTTP.Simple qualified as Http
 import Network.HTTP.Types.URI qualified as Url
 import Network.URI (URI)
 import Optional
-import Redacted
 import Text.Blaze.Html (Html)
 import Prelude hiding (span)