Improved error messages
This commit is contained in:
@@ -41,7 +41,7 @@ class Following extends BaseApi
|
||||
$uid = self::getCurrentUserID();
|
||||
|
||||
if (empty($parameters['id'])) {
|
||||
DI::mstdnError()->RecordNotFound();
|
||||
DI::mstdnError()->UnprocessableEntity();
|
||||
}
|
||||
|
||||
$id = $parameters['id'];
|
||||
|
||||
Reference in New Issue
Block a user