From 3023b8396d3656887a95f11e45da2e79406d64d1 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Fri, 31 Mar 2023 21:33:20 +0300 Subject: Fixed call to the right script --- 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 ea6f30c..995fe69 100644 --- a/api/routes/getSLatest/index.js +++ b/api/routes/getSLatest/index.js @@ -8,7 +8,7 @@ const HomeDir = os.userInfo().homedir; * sorry I was laughing at the term.. superchain */ module.exports = (req, res) => { - const command = spawn("ak-find-latest-mined-block.sh"); + const command = spawn("ak-find-latest-mined-sblock"); response_string = ""; command.stdout.on("data", data => { response_string = response_string + data; -- cgit v1.2.3