diff --git a/webtask-medium.js b/webtask-medium.js index 1ca1d13..6f9ad67 100644 --- a/webtask-medium.js +++ b/webtask-medium.js @@ -18,8 +18,8 @@ app.get('/:username', (req, res) => { requestWithCookies(url, (error, response) => { const prefix = '])}while(1);' if (!response.body.includes(prefix)) { - res.status(500).send({ - success: false, + res.status(500).send({ + success: false, reason: 'Failed getting posts from Medium.' }) }