api articles urls fix
This commit is contained in:
1 parent
4443a5ca18
commit
7599e9d41f
1 file changed
+1
-1
@@ -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`
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user