From 7bd05d63ac529d195654bc6a0e04c4b40bc0ee49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Moya?= Date: Mon, 8 Feb 2021 16:05:13 +0100 Subject: [PATCH] :bug: Fix error 500 when requesting a password reset --- backend/src/app/rpc/mutations/profile.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/src/app/rpc/mutations/profile.clj b/backend/src/app/rpc/mutations/profile.clj index bbcafd225..d897b5ac6 100644 --- a/backend/src/app/rpc/mutations/profile.clj +++ b/backend/src/app/rpc/mutations/profile.clj @@ -400,7 +400,8 @@ (emails/send! conn emails/password-recovery {:to (:email profile) :token (:token profile) - :name (:fullname profile)}))] + :name (:fullname profile)}) + nil)] (db/with-atomic [conn pool] (when-let [profile (profile/retrieve-profile-data-by-email conn email)]