create function findValue

This commit is contained in:
joseph le 2023-11-23 15:55:05 +07:00
parent 07670710d2
commit 659067b519
1 changed files with 2 additions and 2 deletions

View File

@ -187,7 +187,7 @@ Route.post("/api/find-value", async ({ request, response }) => {
// console.error(`Error executing command: ${error.message}`); // console.error(`Error executing command: ${error.message}`);
return "Error:"+ error; return "Error:"+ error;
} }
console.log("stdout ", stdout) console.log("stdout ", typeof stdout)
if (stdout !== "") { if (stdout !== "") {
result += stdout; result += stdout;
} else { } else {