From 77c9edf809cac2e9577e1b9de5236fd6de6be578 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sat, 17 Jun 2023 02:48:36 +0300 Subject: API: Error response errno -> error --- api/routes/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/routes/index.js') 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; -- cgit v1.2.3