aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-03-31 21:33:20 +0300
committerkaotisk <kaotisk@arching-kaos.org>2023-03-31 21:33:20 +0300
commit3023b8396d3656887a95f11e45da2e79406d64d1 (patch)
tree9379f671331a93e2fc7bb6055aa070b3fda99d6a /api
parent5157dc62fc6bd010e8616ae59b462fd8c58f1d9b (diff)
downloadarching-kaos-tools-3023b8396d3656887a95f11e45da2e79406d64d1.tar.gz
arching-kaos-tools-3023b8396d3656887a95f11e45da2e79406d64d1.tar.bz2
arching-kaos-tools-3023b8396d3656887a95f11e45da2e79406d64d1.zip
Fixed call to the right script
Diffstat (limited to 'api')
-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 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;