diff --git a/package.yaml b/package.yaml index 9021d9c..193d575 100644 --- a/package.yaml +++ b/package.yaml @@ -74,7 +74,6 @@ dependencies: - yesod-auth-basic - yesod-core - yesod-persistent - - zip-stream library: source-dirs: src diff --git a/src/Handler/Admin.hs b/src/Handler/Admin.hs index 038e7f7..95c4cf1 100644 --- a/src/Handler/Admin.hs +++ b/src/Handler/Admin.hs @@ -193,7 +193,7 @@ postEosUploadR = do createDirectoryIfMissing True resourcesTemp withTempDirectory resourcesTemp "neweos" $ \dir -> do let path = dir "eos" <.> "img" - runConduit $ rawRequestBody .| ungzip .| sinkFile path + runConduit $ rawRequestBody .| sinkFile path void . runDB $ upsert (EosHash version hash) [EosHashHash =. hash] let targetPath = root show version removePathForcibly targetPath