diff --git a/src/routes/volumes.js b/src/routes/volumes.js index 1925ad4cc..f2519dcca 100644 --- a/src/routes/volumes.js +++ b/src/routes/volumes.js @@ -77,5 +77,5 @@ async function getMountStatus(req, res, next) { const [error, status] = await safe(volumes.getMountStatus(req.resource)); if (error) return next(BoxError.toHttpError(error)); - next(new HttpSuccess(200, { status })); + next(new HttpSuccess(200, status)); }