From 0fd522a6e324de08a99bdd42ead193acff6f3d15 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Fri, 5 Apr 2024 14:23:22 +0300 Subject: various fixes, surely still broken in places --- api/routes/getZblock/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/routes/getZblock/index.js') diff --git a/api/routes/getZblock/index.js b/api/routes/getZblock/index.js index a9ec02c..723df48 100644 --- a/api/routes/getZblock/index.js +++ b/api/routes/getZblock/index.js @@ -13,7 +13,7 @@ const config = require("../../config"); function fetchZblock(zblock, res){ regex= /Qm[A-Za-z0-9]{44}/; if (regex.test(zblock)){ - const command = spawn("ak-zblock-cache",[zblock]); + const command = spawn("ak-zblock",["--cache",zblock]); command.stdout.on("data", data => { }); -- cgit v1.2.3