Merge branch 'master' into 'master'

Update API

See merge request tt-rss/tt-rss!5
This commit is contained in:
Andrew Dolgov 2023-05-21 05:21:49 +00:00
commit 3468317bd3
1 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<?php
class API extends Handler {
const API_LEVEL = 20;
const API_LEVEL = 21;
const STATUS_OK = 0;
const STATUS_ERR = 1;
@ -844,6 +844,8 @@ class API extends Handler {
$headline_row["note"] = $line["note"];
$headline_row["lang"] = $line["lang"];
$headline_row["site_url"] = $line["site_url"];
if ($show_content) {
$hook_object = ["headline" => &$headline_row];