mirror of
https://github.com/penpot/penpot.git
synced 2026-04-30 05:38:42 +00:00
✨ Minor change on debug endpoint.
This commit is contained in:
parent
20baf02726
commit
6410bcf3c8
@ -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})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user