Improved error messages
This commit is contained in:
@@ -38,7 +38,7 @@ class Accounts extends BaseApi
|
||||
public static function rawContent(array $parameters = [])
|
||||
{
|
||||
if (empty($parameters['id'])) {
|
||||
DI::mstdnError()->RecordNotFound();
|
||||
DI::mstdnError()->UnprocessableEntity();
|
||||
}
|
||||
|
||||
$id = $parameters['id'];
|
||||
|
||||
Reference in New Issue
Block a user