mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-09-28 07:54:31 +08:00
updated api
This commit is contained in:
parent
3882be5f00
commit
74c7539f1b
1 changed files with 1 additions and 1 deletions
2
api.js
2
api.js
|
@ -1113,7 +1113,7 @@ server.get('/attachment/:attachment', (req, res, next) => {
|
|||
});
|
||||
|
||||
const result = Joi.validate({
|
||||
attachment: req.params.message
|
||||
attachment: req.params.attachment
|
||||
}, schema, {
|
||||
abortEarly: false,
|
||||
convert: true,
|
||||
|
|
Loading…
Add table
Reference in a new issue