This commit is contained in:
RedDucks 2018-11-23 23:47:51 -05:00
parent e52ccfdfd8
commit 5703e42de2

View File

@ -17,11 +17,6 @@ function sendReturn(response, data, errors) {
);
}
// shows 404 template. takes express response object
function send404(res) {
res.status(404).send('404');
}
// use if api endpoint doesnt exist
function sendApi404(response) {
response.status(404).json({