diff --git a/backend/src/app/http/debug.clj b/backend/src/app/http/debug.clj index 9b74ad43c0..39e5973439 100644 --- a/backend/src/app/http/debug.clj +++ b/backend/src/app/http/debug.clj @@ -89,9 +89,9 @@ data (some-> params :file :tempfile fs/slurp-bytes blob/decode)] (if (and data project-id) - (do + (let [fname (str "imported-file-" (dt/now))] (m.files/create-file pool {:id (uuid/next) - :name "imported-file" + :name fname :project-id project-id :profile-id profile-id :data data})