Use fallback values for search queries
authorEugenij <eugenijm@protonmail.com>
Wed, 3 Jul 2019 10:19:51 +0000 (10:19 +0000)
committerrinpatch <rinpatch@sdf.org>
Wed, 3 Jul 2019 10:19:51 +0000 (10:19 +0000)
commit5184b0f41aabb79a47e8d3b8c76b88ca04a53b24
treea79f9f083237d5ebfdedbff1e94c7ddf00bffa12
parentdcadf344719dcc0b0b09ae2cb97152ea67a3cec3
Use fallback values for search queries

This is to make sure the entire request doesn't return a 500 error if
user or status search times out.
CHANGELOG.md
lib/pleroma/web/mastodon_api/search_controller.ex