API fix continuation type (#3250)

#fix https://github.com/FreshRSS/FreshRSS/issues/3247
This commit is contained in:
Alexandre Alapetite authored and GitHub committed 2020-11-12 09:36:33 +01:00
1 parent a90274a1f4
commit 6887ba0592
1 file changed
+2 -2
+2 -2
View File
@@ -673,7 +673,7 @@ function streamContents($path, $include_target, $start_time, $stop_time, $count,
if (count($entries) >= $count) {
$entry = end($entries);
if ($entry != false) {
$response['continuation'] = $entry->id();
$response['continuation'] = '' . $entry->id();
}
}
@@ -729,7 +729,7 @@ function streamContentsItemsIds($streamId, $start_time, $stop_time, $count, $ord
if (count($ids) >= $count) {
$id = end($ids);
if ($id != false) {
$response['continuation'] = $id;
$response['continuation'] = '' . $id;
}
}