diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-06-30 22:39:50 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-06-30 22:39:50 +0300 |
commit | de53c55383ed07e0b65f69d33f5284a31d791664 (patch) | |
tree | f1e426c88a5d0a48ca463eccd21c1d12524d8f3a /api/routes/getZChain/index.js | |
parent | 9531bcdffff4e44e8aadb000f0b577d59a32ea3f (diff) | |
download | arching-kaos-tools-de53c55383ed07e0b65f69d33f5284a31d791664.tar.gz arching-kaos-tools-de53c55383ed07e0b65f69d33f5284a31d791664.tar.bz2 arching-kaos-tools-de53c55383ed07e0b65f69d33f5284a31d791664.zip |
Refactoring
Diffstat (limited to 'api/routes/getZChain/index.js')
-rw-r--r-- | api/routes/getZChain/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/routes/getZChain/index.js b/api/routes/getZChain/index.js index d30bb0a..6df2d7f 100644 --- a/api/routes/getZChain/index.js +++ b/api/routes/getZChain/index.js @@ -8,7 +8,7 @@ const { spawn } = require('child_process'); * */ module.exports = (req, res) => { - const command = spawn("ak-enter"); + const command = spawn("ak", ["zchain", "--crawl"]); response_string = ""; command.stdout.on("data", data => { response_string = response_string + data; |