From e010bbb6317bd561956a7af7d409f9afa0c874a2 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Wed, 24 Jul 2019 11:33:06 +0200 Subject: [PATCH] :bug: Fix unexpected exception on password change endpoint (back). --- backend/src/uxbox/api/users.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/uxbox/api/users.clj b/backend/src/uxbox/api/users.clj index 755788d3e7..f2226a4adc 100644 --- a/backend/src/uxbox/api/users.clj +++ b/backend/src/uxbox/api/users.clj @@ -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}}}