mirror of
https://github.com/penpot/penpot.git
synced 2026-09-18 18:06:14 +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)]
|
data (some-> params :file :tempfile fs/slurp-bytes blob/decode)]
|
||||||
|
|
||||||
(if (and data project-id)
|
(if (and data project-id)
|
||||||
(do
|
(let [fname (str "imported-file-" (dt/now))]
|
||||||
(m.files/create-file pool {:id (uuid/next)
|
(m.files/create-file pool {:id (uuid/next)
|
||||||
:name "imported-file"
|
:name fname
|
||||||
:project-id project-id
|
:project-id project-id
|
||||||
:profile-id profile-id
|
:profile-id profile-id
|
||||||
:data data})
|
:data data})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user