summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2023-05-21 05:21:49 +0000
committerAndrew Dolgov <[email protected]>2023-05-21 05:21:49 +0000
commit3468317bd34f63ba3c65904a8856cc41afa28102 (patch)
treef21262b4e2b6c8040b2ba18d65482cb8df9e254c
parenta4543de3ac4b8b4e81f317a5ebb0d88004e3884c (diff)
parentaf3e9eb4a0ed530a6316ea28725a1feb363f568f (diff)
Merge branch 'master' into 'master'
Update API See merge request tt-rss/tt-rss!5
-rwxr-xr-xclasses/api.php4
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];