1
0
mirror of https://github.com/oceanprotocol/webtasks synced 2025-01-06 20:05:40 +01:00

syntax fix

This commit is contained in:
Matthias Kretschmann 2019-10-17 12:04:57 +02:00
parent 6dc4862cbb
commit a38639c6cc
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -18,8 +18,8 @@ app.get('/:username', (req, res) => {
requestWithCookies(url, (error, response) => {
const prefix = '])}while(1);</x>'
if (!response.body.includes(prefix)) {
res.status(500).send({
success: false,
res.status(500).send({
success: false,
reason: 'Failed getting posts from Medium.'
})
}