diff options
author | Andrew Dolgov <[email protected]> | 2023-05-21 05:21:49 +0000 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2023-05-21 05:21:49 +0000 |
commit | 3468317bd34f63ba3c65904a8856cc41afa28102 (patch) | |
tree | f21262b4e2b6c8040b2ba18d65482cb8df9e254c | |
parent | a4543de3ac4b8b4e81f317a5ebb0d88004e3884c (diff) | |
parent | af3e9eb4a0ed530a6316ea28725a1feb363f568f (diff) |
Merge branch 'master' into 'master'
Update API
See merge request tt-rss/tt-rss!5
-rwxr-xr-x | classes/api.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/classes/api.php b/classes/api.php index 255de52d4..3a3ae0e63 100755 --- a/classes/api.php +++ b/classes/api.php @@ -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]; |