mirror of
https://github.com/oceanprotocol/webtasks
synced 2025-01-06 20:05:40 +01:00
syntax fix
This commit is contained in:
parent
6dc4862cbb
commit
a38639c6cc
@ -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.'
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user