Add fallback value to the admin report view.
authorEugenij <eugenijm@protonmail.com>
Tue, 2 Jul 2019 01:27:00 +0000 (01:27 +0000)
committerkaniini <nenolod@gmail.com>
Tue, 2 Jul 2019 01:27:00 +0000 (01:27 +0000)
commitab50c6b3ca26c87e4b7fdbe04da5d0d236d2e9ce
treed2b758f2d38065c03b4b6085ceb654c8af19a64f
parent79c88a257f8e33bf55ce6b18c32a791d6bf9546d
Add fallback value to the admin report view.

This is to avoid 500 error when the reported user no longer exists
in the database.
lib/pleroma/web/admin_api/views/report_view.ex
test/web/admin_api/views/report_view_test.exs