1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 21:25:55 +00:00

Add feed_id to subscribeToFeed response when the code is 1 or 0.

Set the API_LEVEL to 14.
This commit is contained in:
John Brayton
2016-08-27 10:29:25 -04:00
parent 557d86fe42
commit f1b3b3f330
2 changed files with 3 additions and 3 deletions

View File

@@ -1772,9 +1772,9 @@
set_basic_feed_info($feed_id);
}
return array("code" => 1);
return array("code" => 1, "feed_id" => $feed_id);
} else {
return array("code" => 0);
return array("code" => 0, "feed_id" => db_fetch_result($result, 0, "id"));
}
}