1
0
Fork 0
forked from fedi/mastodon
mastodon/app/models/admin
Claire 9b978872cc
Fix 404 error when filtering admin action logs by non-existent target account (#16643)
Currently, there is no way for an admin to delete an account record. However,
should that happen in the future, or should an admin mistype an account id,
`/admin/action_logs?target_account_id=<non-existent-account-id>` currently
returns a 404 instead of an empty list.

With this commit, the aforementioned page returns a correct list instead
(potentially non-empty if the account has been manually deleted)
2021-10-14 20:53:11 +02:00
..
account_action.rb Add support for reversible suspensions through ActivityPub (#14989) 2020-11-08 00:28:39 +01:00
action_log.rb
action_log_filter.rb Fix 404 error when filtering admin action logs by non-existent target account (#16643) 2021-10-14 20:53:11 +02:00