return 204 on mailinglist removal api

This commit is contained in:
Johannes Zellner
2018-01-30 12:22:55 +01:00
parent 2745511e67
commit f54197afe4

View File

@@ -289,6 +289,6 @@ function removeList(req, res, next) {
if (error && error.reason === MailError.NOT_FOUND) return next(new HttpError(404, error.message));
if (error) return next(new HttpError(500, error));
next(new HttpSuccess(202, {}));
next(new HttpSuccess(204));
});
}