mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-11 08:05:56 +00:00
Headlines: fix multiple article ids not passed to setScore as an array
This commit is contained in:
@@ -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}));
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user