From 3cafdfccc39c0493ac95ae88cf7d0dd1dd58d28b Mon Sep 17 00:00:00 2001 From: kaotisk Date: Thu, 18 Jul 2024 08:27:21 +0300 Subject: bugfix from refactoring --- api/routes/getSLatest/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/routes') 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; -- cgit v1.2.3