aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--api/routes/getAkid/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/routes/getAkid/index.js b/api/routes/getAkid/index.js
index 08787ad..34426e5 100644
--- a/api/routes/getAkid/index.js
+++ b/api/routes/getAkid/index.js
@@ -24,7 +24,7 @@ module.exports = (req, res) => {
});
command.on("close", code => {
- res.send(buffer);
+ res.send(JSON.parse(buffer));
console.log(`child process exited with code ${code}`);
});
};