0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-24 23:49:45 -05:00

Minor change on debug endpoint.

This commit is contained in:
Andrey Antukh 2022-01-24 15:13:02 +01:00
parent 20baf02726
commit 6410bcf3c8

View file

@ -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})