mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-12-15 18:00:59 +01:00
Headlines: fix multiple article ids not passed to setScore as an array
This commit is contained in:
parent
53061d1508
commit
8cf9c451dc
@ -178,7 +178,7 @@ const Headlines = {
|
||||
if (scores.length != 0) {
|
||||
scores.forEach((score) => {
|
||||
promises.push(xhr.post("backend.php",
|
||||
{op: "article", method: "setScore", "ids[]": ops.rescore[score].toString(), score: score}));
|
||||
{op: "article", method: "setScore", "ids[]": ops.rescore[score], score: score}));
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user