aboutsummaryrefslogtreecommitdiff
path: root/lib/jason_types.ex
diff options
context:
space:
mode:
authorEugenij <eugenijm@protonmail.com>2019-07-17 18:09:31 +0000
committerkaniini <ariadne@dereferenced.org>2019-07-17 18:09:31 +0000
commit4bf2bb9cff2d263e1b022f5c40128ffcbd372746 (patch)
treee3c37dfbd7e915e87d6a6e893959c3dfd037c5c2 /lib/jason_types.ex
parentce73d5f6a53826c85e46bbe45835b99ceaab67cd (diff)
downloadpleroma-4bf2bb9cff2d263e1b022f5c40128ffcbd372746.tar.gz
Fix password reset for non-test env
Fixes `Plug.Conn.NotSentError` that causes a 5xx error in response instead of 404 and 400. Fixes pattern matching error caused by different response format in test and non-test env: `Pleroma.Emails.Mailer.deliver_async` returns :ok when PleromaJobQueue is enabled and `{:ok, _}` when it's disabled. In tests, it's disabled.
Diffstat (limited to 'lib/jason_types.ex')
0 files changed, 0 insertions, 0 deletions