aboutsummaryrefslogtreecommitdiffstats
path: root/backend/lib/ACMS/API/REST/Collection.hs
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2025-02-19 17:36:34 +0100
committerLibravatar Alexander Foremny <aforemny@posteo.de>2025-02-19 17:36:34 +0100
commitd0d1215913dbdd44b62cf584100a9db18aaf83b2 (patch)
treedc90ef41dd679712dcd5a809560a5818ccaa7839 /backend/lib/ACMS/API/REST/Collection.hs
parent1cd156c349d508f5e4638de0fc6370c30b0ac01d (diff)
fix frontend build
Diffstat (limited to 'backend/lib/ACMS/API/REST/Collection.hs')
-rw-r--r--backend/lib/ACMS/API/REST/Collection.hs6
1 files changed, 1 insertions, 5 deletions
diff --git a/backend/lib/ACMS/API/REST/Collection.hs b/backend/lib/ACMS/API/REST/Collection.hs
index b3faf19..7eea23b 100644
--- a/backend/lib/ACMS/API/REST/Collection.hs
+++ b/backend/lib/ACMS/API/REST/Collection.hs
@@ -5,11 +5,7 @@ module ACMS.API.REST.Collection where
#ifndef ghcjs_HOST_OS
import Network.HTTP.Simple
#else
-import ACMS.API.REST (setRequestMethod, setRequestBodyLBS, getResponseBody)
-import Data.ByteString.Char8 qualified as B
-import Data.Maybe
-import JavaScript.Web.XMLHttpRequest
-import Miso.String qualified as J
+import ACMS.API.REST (setRequestMethod, setRequestBodyLBS)
#endif
import ACMS.API.REST (APIMonad, fetch, restRequest)
import Collection