From 88d287bac0444acb7052708933dc5da8766b2ede Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 27 Jan 2020 13:22:06 +0100 Subject: [PATCH] :bug: Fix bug on uploading image. --- backend/src/uxbox/services/mutations/images.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/uxbox/services/mutations/images.clj b/backend/src/uxbox/services/mutations/images.clj index b6e0e9af4c..f898c20eac 100644 --- a/backend/src/uxbox/services/mutations/images.clj +++ b/backend/src/uxbox/services/mutations/images.clj @@ -99,7 +99,7 @@ [{:keys [name path] :as upload}] (let [filename (fs/name name) storage media/images-storage] - (-> (ds/save storage filename path) + (-> (ds/save storage filename (fs/path path)) (su/handle-on-context)))) (def sql:create-image