aboutsummaryrefslogtreecommitdiff
path: root/api/routes/getSLatest/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'api/routes/getSLatest/index.js')
-rw-r--r--api/routes/getSLatest/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/routes/getSLatest/index.js b/api/routes/getSLatest/index.js
index 72005b6..3f400fa 100644
--- a/api/routes/getSLatest/index.js
+++ b/api/routes/getSLatest/index.js
@@ -6,7 +6,7 @@ const { spawn } = require('child_process');
* sorry I was laughing at the term.. superchain
*/
function getSLatest(req, res) {
- const command = spawn("ak-schain-latest-cached");
+ const command = spawn("ak-schain",["-l"]);
response_string = "";
command.stdout.on("data", data => {
response_string = response_string + data;