diff options
Diffstat (limited to 'cli/app/Main.hs')
-rw-r--r-- | cli/app/Main.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/app/Main.hs b/cli/app/Main.hs index 6006e7c..799af2b 100644 --- a/cli/app/Main.hs +++ b/cli/app/Main.hs @@ -7,7 +7,7 @@ module Main where -import API.Collection qualified +import ACMS.API.REST.Collection qualified import Control.Applicative ((<**>)) import Data.Aeson qualified as J import Data.ByteString.Lazy qualified as LB @@ -83,6 +83,6 @@ main = do } } -> print - =<< API.Collection.insert collectionName fileName + =<< ACMS.API.REST.Collection.create collectionName fileName =<< J.throwDecode =<< LB.getContents |