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:
parent
20baf02726
commit
6410bcf3c8
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue