summaryrefslogtreecommitdiff
path: root/js/Feeds.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-06 12:19:05 +0300
committerAndrew Dolgov <[email protected]>2018-12-06 12:19:05 +0300
commitf89ecda9b8509ef01787efa5d91fd49e49813d6d (patch)
tree5e669a8464434c3d3cd7c481091b8deff7d17410 /js/Feeds.js
parent836a9494071660f0c5b8910cec5b0a2ee726cd9a (diff)
Feeds.updateRandom: fix calling wrong RPC method
Diffstat (limited to 'js/Feeds.js')
-rw-r--r--js/Feeds.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Feeds.js b/js/Feeds.js
index 70b5176f4..9fda2a176 100644
--- a/js/Feeds.js
+++ b/js/Feeds.js
@@ -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);
});
},