From a38639c6ccf3dbe44011bad87646c7b8853a1819 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Thu, 17 Oct 2019 12:04:57 +0200 Subject: [PATCH] syntax fix --- webtask-medium.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.' }) }