0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-08 07:50:43 -05:00

🐛 Fix unexpected exception on password change endpoint (back).

This commit is contained in:
Andrey Antukh 2019-07-24 11:33:06 +02:00
parent 406157c06c
commit e010bbb631

View file

@ -59,7 +59,7 @@
:type :update-profile-password
:user user)]
(-> (sv/novelty message)
(p/then #(http/ok %)))))
(p/then (fn [_] (http/no-content))))))
;; TODO: validate {:multipart {:file {:filename "sample.jpg", :content-type "application/octet-stream", :tempfile #file "/tmp/ring-multipart-7913603702731714635.tmp", :size 312043}}}