diff --git a/routes/getStreamNames.js b/routes/getStreamNames.js index b89b87d..c221865 100644 --- a/routes/getStreamNames.js +++ b/routes/getStreamNames.js @@ -9,7 +9,7 @@ router.get('/', async function (req, res, next) { res.send('Cookie Not Set') } else { let data = await getStreamNames() - res.send(data) + res.json(data) } });