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

pass a bunch of related arrays properly to backend

This commit is contained in:
Andrew Dolgov
2021-02-24 12:07:25 +03:00
parent 96182597c4
commit 155e4f6125
3 changed files with 9 additions and 21 deletions

View File

@@ -134,7 +134,7 @@ const Feeds = {
this.reloadCurrent();
},
requestCounters: function(feed_ids = null) {
xhr.json("backend.php", {op: "rpc", method: "getAllCounters", feed_ids: feed_ids, seq: App.next_seq()}, () => {
xhr.json("backend.php", {op: "rpc", method: "getAllCounters", "feed_ids[]": feed_ids, seq: App.next_seq()}, () => {
//
});
},