Fix path to nginx cert

This commit is contained in:
Girish Ramakrishnan
2018-02-01 21:51:30 -08:00
parent 272b0489ff
commit f4a021b751
2 changed files with 3 additions and 3 deletions

View File

@@ -285,7 +285,7 @@ function removeList(req, res, next) {
assert.strictEqual(typeof req.params.domain, 'string');
assert.strictEqual(typeof req.params.groupId, 'string');
mail.removeList(req.params.domain, req.params.groupId, function (error, result) {
mail.removeList(req.params.domain, req.params.groupId, function (error) {
if (error && error.reason === MailError.NOT_FOUND) return next(new HttpError(404, error.message));
if (error) return next(new HttpError(500, error));