*/
public static function rawContent(array $parameters = [])
{
- self::login();
+ self::login(self::SCOPE_READ);
$uid = self::getCurrentUserID();
if (empty($parameters['id'])) {
- DI::mstdnError()->RecordNotFound();
+ DI::mstdnError()->UnprocessableEntity();
}
$id = $parameters['id'];
}
DBA::close($followers);
+ if (!empty($min_id)) {
+ array_reverse($accounts);
+ }
+
System::jsonExit($accounts);
}
}