api articles urls fix

This commit is contained in:
tmshv committed 2019-08-01 17:41:37 +03:00
1 parent 4443a5ca18
commit 7599e9d41f
1 file changed
+1 -1
+1 -1
View File
@@ -14,7 +14,7 @@ export default async (req, res) => {
} else { } else {
res.status(404) res.status(404)
res.json({ res.json({
error: `Article ${id} not found` error: `Not found`
}) })
} }
} }