Feeds.updateRandom: fix calling wrong RPC method

This commit is contained in:
Andrew Dolgov 2018-12-06 12:19:05 +03:00
parent 836a949407
commit f89ecda9b8
1 changed files with 1 additions and 1 deletions

View File

@ -627,7 +627,7 @@ define(["dojo/_base/declare"], function (declare) {
updateRandom: function() {
console.log("in update_random_feed");
xhrPost("backend.php", {op: "rpc", method: "updateRandom"}, (transport) => {
xhrPost("backend.php", {op: "rpc", method: "updaterandomfeed"}, (transport) => {
App.handleRpcJson(transport, true);
});
},