Feeds.updateRandom: fix calling wrong RPC method

master
Andrew Dolgov 6 years ago
parent 836a949407
commit f89ecda9b8

@ -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);
});
},

Loading…
Cancel
Save