diff options
author | 2025-02-19 17:05:11 +0100 | |
---|---|---|
committer | 2025-02-19 19:26:11 +0100 | |
commit | c36c4cf37737ba972482a34c8df2b61a541e7f0a (patch) | |
tree | 5682b53cd5b9d03fa56a4a11ba12f4916dd69ea3 /backend/lib/ACMS/API/REST/Collection.hs | |
parent | 09809ae4df9ea2536bb6d9d6295cd3fdfd357945 (diff) |
add `acms query`
Diffstat (limited to 'backend/lib/ACMS/API/REST/Collection.hs')
-rw-r--r-- | backend/lib/ACMS/API/REST/Collection.hs | 8 |
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 ((&)) |