From 6410bcf3c8ad070782763954bc390c7b00ae977f Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 24 Jan 2022 15:13:02 +0100 Subject: [PATCH] :sparkles: Minor change on debug endpoint. --- backend/src/app/http/debug.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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})