From 38d534caeef06f53cd253e0f8ea6b84c3ad94d07 Mon Sep 17 00:00:00 2001 From: softsimon Date: Mon, 11 Jan 2021 00:26:36 +0700 Subject: [PATCH] Return not implemented error instead of empty array. --- backend/src/routes.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/src/routes.ts b/backend/src/routes.ts index 390d11ddd..fe6a82a8a 100644 --- a/backend/src/routes.ts +++ b/backend/src/routes.ts @@ -656,15 +656,15 @@ class Routes { } public async getAdressTxChain(req: Request, res: Response) { - res.status(404).send('Not implemented'); + res.status(501).send('Not implemented'); } public async getAddressPrefix(req: Request, res: Response) { - res.json([]); + res.status(501).send('Not implemented'); } public getTransactionOutspends(req: Request, res: Response) { - res.json([]); + res.status(501).send('Not implemented'); } }