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

View File

@ -627,7 +627,7 @@ define(["dojo/_base/declare"], function (declare) {
updateRandom: function() { updateRandom: function() {
console.log("in update_random_feed"); 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); App.handleRpcJson(transport, true);
}); });
}, },