status is already an object

This commit is contained in:
Girish Ramakrishnan
2021-05-13 00:02:21 -07:00
parent 50407eba0b
commit ac4fa83080
+1 -1
View File
@@ -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));
}