mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-01-10 01:48:38 +08:00
Add back the 404 code
This commit is contained in:
parent
667dce4a94
commit
4ef5cf6dc0
1 changed files with 1 additions and 0 deletions
|
@ -475,6 +475,7 @@ module.exports = (db, server) => {
|
|||
}
|
||||
|
||||
if (!r.deletedCount) {
|
||||
res.status(404);
|
||||
res.json({
|
||||
error: 'Filter was not found',
|
||||
code: 'FilterNotFound'
|
||||
|
|
Loading…
Reference in a new issue