diff --git a/lib/api/filters.js b/lib/api/filters.js index 17829c81..b035611e 100644 --- a/lib/api/filters.js +++ b/lib/api/filters.js @@ -475,6 +475,7 @@ module.exports = (db, server) => { } if (!r.deletedCount) { + res.status(404); res.json({ error: 'Filter was not found', code: 'FilterNotFound'