From 7599e9d41f455bc54cb7f6d4ee9c83a6501ca70f Mon Sep 17 00:00:00 2001 From: Roman Timashev Date: Thu, 1 Aug 2019 17:41:37 +0300 Subject: [PATCH] api articles urls fix --- pages/api/articles/urls.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/api/articles/urls.js b/pages/api/articles/urls.js index 717fa451..628194e6 100644 --- a/pages/api/articles/urls.js +++ b/pages/api/articles/urls.js @@ -14,7 +14,7 @@ export default async (req, res) => { } else { res.status(404) res.json({ - error: `Article ${id} not found` + error: `Not found` }) } }