aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/routes/getNodeInfo/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/routes/getNodeInfo/index.js b/api/routes/getNodeInfo/index.js
index d87a3e7..877b55a 100644
--- a/api/routes/getNodeInfo/index.js
+++ b/api/routes/getNodeInfo/index.js
@@ -3,7 +3,7 @@ const akLogMessage = require('../../lib/akLogMessage');
module.exports = (req, res) => {
akLogMessage('INFO', `Incoming from [${req.socket._peername.address}]:${req.socket._peername.port} @ ${req.get('host')}${req._parsedOriginalUrl.pathname}`);
- const command = spawn("ak-config", ["get-published"]);
+ const command = spawn("ak-config", ["--get-published"]);
var buffer = "";
command.stdout.on("data", data => {
buffer = buffer + data;