From 74c7539f1b1999c8fca4d5afdec5da3283706937 Mon Sep 17 00:00:00 2001 From: Andris Reinman Date: Tue, 23 May 2017 20:13:59 +0300 Subject: [PATCH] updated api --- api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.js b/api.js index fcf5e59c..50357162 100644 --- a/api.js +++ b/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,