aboutsummaryrefslogtreecommitdiff
path: root/api/routes/index.js
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-06-17 02:48:36 +0300
committerkaotisk <kaotisk@arching-kaos.org>2023-06-17 02:48:36 +0300
commit77c9edf809cac2e9577e1b9de5236fd6de6be578 (patch)
tree14d995609699f9b839ae53a3b046cdad638d324c /api/routes/index.js
parent01ff1c0a97cd36e69e21bac0776bef21be7ae374 (diff)
downloadarching-kaos-tools-77c9edf809cac2e9577e1b9de5236fd6de6be578.tar.gz
arching-kaos-tools-77c9edf809cac2e9577e1b9de5236fd6de6be578.tar.bz2
arching-kaos-tools-77c9edf809cac2e9577e1b9de5236fd6de6be578.zip
API: Error response errno -> error
Diffstat (limited to 'api/routes/index.js')
-rw-r--r--api/routes/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/routes/index.js b/api/routes/index.js
index 9a6f433..c019967 100644
--- a/api/routes/index.js
+++ b/api/routes/index.js
@@ -48,5 +48,5 @@ router.route(settings.URL_PREFIX+'/sblk').post(receiveZBlock);
// Send a zchain link to the node (refering to a valid zchain out there)
router.route(settings.URL_PREFIX+'/szch').post(receiveZChain);
-router.route('/*').get((req,res)=>{console.log(req.url);res.send({errno:"404"})});
+router.route('/*').get((req,res)=>{console.log(req.url);res.send({error:"404"})});
module.exports = router;