From fdee3fa58178e07923321c744c2e1d03ef78d4e2 Mon Sep 17 00:00:00 2001 From: efarooqui Date: Sun, 20 Jun 2021 23:11:38 -0700 Subject: [PATCH] Minor changes to media endpoint --- src/api/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/index.js b/src/api/index.js index 895b191..7d87334 100755 --- a/src/api/index.js +++ b/src/api/index.js @@ -33,7 +33,7 @@ export default ({ config, controller }) => { } }) .then(response => response.json()) - .then(data => res.send(data.data)) + .then(data => res.send(data)) .catch(err => { res.status(err.status || 404).send({ error: err.message }) });