aboutsummaryrefslogtreecommitdiff
path: root/api/routes
diff options
context:
space:
mode:
Diffstat (limited to 'api/routes')
-rw-r--r--api/routes/getNodeInfo/index.js (renamed from api/routes/getAkid/index.js)0
-rw-r--r--api/routes/index.js4
2 files changed, 2 insertions, 2 deletions
diff --git a/api/routes/getAkid/index.js b/api/routes/getNodeInfo/index.js
index 34426e5..34426e5 100644
--- a/api/routes/getAkid/index.js
+++ b/api/routes/getNodeInfo/index.js
diff --git a/api/routes/index.js b/api/routes/index.js
index 174ed66..cb3c584 100644
--- a/api/routes/index.js
+++ b/api/routes/index.js
@@ -13,7 +13,7 @@ const receiveZChain = require('./receiveZChain');
const getZblock = require('./getZblock');
const getMrk = require('./getMrk');
const getTr = require('./getTr');
-const getAkid = require('./getAkid');
+const getNodeInfo = require('./getNodeInfo');
const getPeers = require('./getPeers');
const getInnerIPFSContent = require('./getInnerIPFSContent');
const corsOptions = {
@@ -41,7 +41,7 @@ router.route(settings.URL_PREFIX+'/zchain').get(getZChain);
// Returns latest zblock from node's local chain
router.route(settings.URL_PREFIX+'/zlatest').get(getZLatest);
// Returns local node's info
-router.route(settings.URL_PREFIX+'/node_info').get(getAkid);
+router.route(settings.URL_PREFIX+'/node_info').get(getNodeInfo);
// Returns local node's peers
router.route(settings.URL_PREFIX+'/peers').get(getPeers);
// Returns content