mirror of
https://github.com/oceanprotocol/webtasks
synced 2025-01-07 20:35:30 +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) => {
|
requestWithCookies(url, (error, response) => {
|
||||||
const prefix = '])}while(1);</x>'
|
const prefix = '])}while(1);</x>'
|
||||||
if (!response.body.includes(prefix)) {
|
if (!response.body.includes(prefix)) {
|
||||||
res.status(500).send({
|
res.status(500).send({
|
||||||
success: false,
|
success: false,
|
||||||
reason: 'Failed getting posts from Medium.'
|
reason: 'Failed getting posts from Medium.'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user