1 Commits

Author SHA1 Message Date
efarooqui
fdee3fa581 Minor changes to media endpoint 2021-06-20 23:11:38 -07:00

View File

@@ -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 })
});