Merge branch 'master' of github.com:nodemailer/wildduck

This commit is contained in:
Andris Reinman 2019-08-22 21:52:41 +02:00
commit 7fbf868b33
2 changed files with 4 additions and 1 deletions

View file

@ -1,3 +1,5 @@
**NB!** If you rely on IMAP then currently do not use version later than v1.21.1. Never versions use an experimental partial FETCH response builder with some unresolved bugs that might mess up attachment contents. This notice is removed once the issue with partial FETCH is resolved.
# WildDuck Mail Server
![](https://raw.githubusercontent.com/nodemailer/wildduck/master/assets/duck.png)

View file

@ -477,7 +477,8 @@ module.exports = (db, server) => {
if (!r.deletedCount) {
res.status(404);
res.json({
error: 'Filter was not found'
error: 'Filter was not found',
code: 'FilterNotFound'
});
return next();
}