API: getHeadlines: return feed_id for Archived entries as 0 instead of null to be consistent with requested feed_id

master
Andrew Dolgov 6 years ago
parent a291a0c00f
commit 2ab49fec9a

@ -755,7 +755,7 @@ class API extends Handler {
"is_updated" => $is_updated,
"title" => $line["title"],
"link" => $line["link"],
"feed_id" => $line["feed_id"],
"feed_id" => $line["feed_id"] ? $line['feed_id'] : 0,
"tags" => $tags,
);

Loading…
Cancel
Save