mirror of
https://github.com/penpot/penpot.git
synced 2025-06-27 17:27:00 +02:00
🐛 Fix unexpected exception on importing some binary files
This commit is contained in:
parent
60fc1a48a5
commit
15f81e557c
3 changed files with 9 additions and 10 deletions
|
@ -81,6 +81,7 @@
|
|||
(cond
|
||||
(or (= code :spec-validation)
|
||||
(= code :params-validation)
|
||||
(= code :schema-validation)
|
||||
(= code :data-validation))
|
||||
(let [explain (ex/explain data)]
|
||||
{::rres/status 400
|
||||
|
|
|
@ -722,7 +722,8 @@
|
|||
(-> fdata
|
||||
(update :pages-index relink-shapes)
|
||||
(update :components relink-shapes)
|
||||
(update :media relink-media))))))
|
||||
(update :media relink-media)
|
||||
(d/without-nils))))))
|
||||
|
||||
|
||||
(defmethod read-section :v1/files
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue