summaryrefslogtreecommitdiff
path: root/js/Article.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-15 15:52:28 +0300
committerAndrew Dolgov <[email protected]>2021-02-15 15:52:28 +0300
commit257efb43c6e32226280d8198acc946a2fc4c454f (patch)
tree5226f18bb05b7015ac9a2a40d9a8d6e2d02c7e58 /js/Article.js
parent020f062a76746a313fae9c82fbcf9b37fcc9d459 (diff)
article: unify naming
Diffstat (limited to 'js/Article.js')
-rw-r--r--js/Article.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Article.js b/js/Article.js
index 210427892..54883c2bf 100644
--- a/js/Article.js
+++ b/js/Article.js
@@ -123,7 +123,7 @@ const Article = {
Article.setActive(0);
},
displayUrl: function (id) {
- const query = {op: "article", method: "get_metadata_by_id", id: id};
+ const query = {op: "article", method: "getmetadatabyid", id: id};
xhrJson("backend.php", query, (reply) => {
if (reply && reply.link) {