mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-22 21:22:40 +00:00
Return string list of item IDs
This commit is contained in:
parent
0752e9cf3d
commit
0ef606aa03
1 changed files with 2 additions and 2 deletions
|
@ -269,11 +269,11 @@ class API extends \JKingWeb\Arsse\REST\AbstractHandler {
|
|||
return $out;
|
||||
}
|
||||
|
||||
protected function getItemIds(Context $c = null): array {
|
||||
protected function getItemIds(Context $c = null): string {
|
||||
$out = [];
|
||||
foreach (Arsse::$db->articleList(Arsse::$user->id, $c) as $r) {
|
||||
$out[] = (int) $r['id'];
|
||||
}
|
||||
return $out;
|
||||
return implode(",", $out);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue