From ac4fa83080d36cf3e6fbe69ce945d5f20ef17037 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Thu, 13 May 2021 00:02:21 -0700 Subject: [PATCH] status is already an object --- src/routes/volumes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); }