From 999af6311851d76c445c78975db7f9bd3e876daa Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Wed, 16 Mar 2022 13:07:01 +0100 Subject: [PATCH] :bug: Fixing dbg file upload with new http implementation --- backend/src/app/http/debug.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/app/http/debug.clj b/backend/src/app/http/debug.clj index 92daf1f63..2a90ccf7f 100644 --- a/backend/src/app/http/debug.clj +++ b/backend/src/app/http/debug.clj @@ -92,7 +92,7 @@ (defn- upload-file-data [{:keys [pool]} {:keys [profile-id params] :as request}] (let [project-id (some-> (profile/retrieve-additional-data pool profile-id) :default-project-id) - data (some-> params :file :tempfile fs/slurp-bytes blob/decode)] + data (some-> params :file :path fs/slurp-bytes blob/decode)] (if (and data project-id) (let [fname (str "imported-file-" (dt/now))]