aboutsummaryrefslogtreecommitdiff
path: root/api/routes/getSLatest/index.js
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-03-12 07:37:29 +0200
committerkaotisk <kaotisk@arching-kaos.org>2024-03-12 07:37:29 +0200
commit17659ce1983f39720de51b5fb898af515f701206 (patch)
treeda3057beba1b7ac136f7b6d82323b70a88737128 /api/routes/getSLatest/index.js
parent88e9bb162fecb6c44ac07b01e99fca1f69e2f5b6 (diff)
downloadarching-kaos-tools-17659ce1983f39720de51b5fb898af515f701206.tar.gz
arching-kaos-tools-17659ce1983f39720de51b5fb898af515f701206.tar.bz2
arching-kaos-tools-17659ce1983f39720de51b5fb898af515f701206.zip
Caching enabled results and a fix
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 995fe69..5a31ae7 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-sblock");
+ const command = spawn("ak-schain-latest-cached");
response_string = "";
command.stdout.on("data", data => {
response_string = response_string + data;