mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-10-06 20:05:58 +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) {
|
if (!r.deletedCount) {
|
||||||
|
res.status(404);
|
||||||
res.json({
|
res.json({
|
||||||
error: 'Filter was not found',
|
error: 'Filter was not found',
|
||||||
code: 'FilterNotFound'
|
code: 'FilterNotFound'
|
||||||
|
|
Loading…
Add table
Reference in a new issue