mirror of
https://github.com/penpot/penpot.git
synced 2025-02-12 18:18:24 -05:00
🐛 Fix unexpected exception on encoding error response
This commit is contained in:
parent
5275c35002
commit
d80aa7593b
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@
|
|||
(let [explain (ex/explain data)]
|
||||
{::yrs/status 400
|
||||
::yrs/body (-> data
|
||||
(dissoc ::s/problems ::s/value)
|
||||
(dissoc ::s/problems ::s/value ::s/spec)
|
||||
(cond-> explain (assoc :explain explain)))})
|
||||
|
||||
(= code :params-validation)
|
||||
|
|
Loading…
Add table
Reference in a new issue