fix(backend): fix image uploading

This commit is contained in:
Andrey Antukh 2019-07-05 09:41:02 +02:00
parent 8a7f981f6e
commit b6b6fdf115
6 changed files with 22 additions and 12 deletions

View file

@ -83,6 +83,7 @@
(ex/raise :type :validation
:code (:key spec)
:context errors
:prop key
:value (get req key)
:message "Invalid data")
(assoc-in req [:parameters (:key spec)] result))))