diff --git a/src/routes/domains.js b/src/routes/domains.js index 6a5e7acfe..4e63455f2 100644 --- a/src/routes/domains.js +++ b/src/routes/domains.js @@ -69,7 +69,7 @@ function add(req, res, next) { domains.add(req.body.domain, data, auditSource.fromRequest(req), function (error) { if (error) return next(BoxError.toHttpError(error)); - next(new HttpSuccess(201, { domain: req.body.domain, config: req.body.config })); + next(new HttpSuccess(201, {})); }); }