aboutsummaryrefslogtreecommitdiffstats
path: root/backend/lib/ACMS/API/REST/Collection.hs
diff options
context:
space:
mode:
Diffstat (limited to 'backend/lib/ACMS/API/REST/Collection.hs')
-rw-r--r--backend/lib/ACMS/API/REST/Collection.hs8
1 files changed, 2 insertions, 6 deletions
diff --git a/backend/lib/ACMS/API/REST/Collection.hs b/backend/lib/ACMS/API/REST/Collection.hs
index 7eea23b..7de1909 100644
--- a/backend/lib/ACMS/API/REST/Collection.hs
+++ b/backend/lib/ACMS/API/REST/Collection.hs
@@ -2,12 +2,8 @@
module ACMS.API.REST.Collection where
-#ifndef ghcjs_HOST_OS
-import Network.HTTP.Simple
-#else
-import ACMS.API.REST (setRequestMethod, setRequestBodyLBS)
-#endif
-import ACMS.API.REST (APIMonad, fetch, restRequest)
+import ACMS.API.Fetch
+import ACMS.API.REST (restRequest)
import Collection
import Data.Aeson qualified as A
import Data.Function ((&))