aboutsummaryrefslogtreecommitdiff
path: root/api/routes/getZLatest/index.js
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-07-17 09:05:37 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-07-17 09:05:37 +0300
commit3ab8a99969ba7d7b384390b608eb9ad6f5a43752 (patch)
treeb7973c2d9e55d09e0682ffb3454388dddc17252d /api/routes/getZLatest/index.js
parent868795114f1acfb34149c22a9957169005bfc20f (diff)
downloadarching-kaos-tools-3ab8a99969ba7d7b384390b608eb9ad6f5a43752.tar.gz
arching-kaos-tools-3ab8a99969ba7d7b384390b608eb9ad6f5a43752.tar.bz2
arching-kaos-tools-3ab8a99969ba7d7b384390b608eb9ad6f5a43752.zip
ak zchain: --get-latest (removing ak-get-zlatest)
Diffstat (limited to 'api/routes/getZLatest/index.js')
-rw-r--r--api/routes/getZLatest/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/routes/getZLatest/index.js b/api/routes/getZLatest/index.js
index 9141a4e..3fdd88c 100644
--- a/api/routes/getZLatest/index.js
+++ b/api/routes/getZLatest/index.js
@@ -10,7 +10,7 @@ const { spawn } = require('child_process');
*/
function getZLatest(req, res)
{
- const command = spawn("ak-get-zlatest");
+ const command = spawn("ak-zchain", ["--get-latest"]);
var buffer = "";
command.stdout.on("data", data => {
buffer += data;