Fixed error message

This commit is contained in:
2018-03-06 19:25:33 +01:00
parent cede376349
commit ca146d77bc

View File

@@ -16,7 +16,7 @@ function historyController(req, res) {
res.send({ success: true, searchQueries });
})
.catch((error) => {
res.status(401).send({ success: false, error: error.message });
res.status(404).send({ success: false, error: error });
});
}