diff --git a/src/index.js b/src/index.js index 72f0320..f3c98e8 100644 --- a/src/index.js +++ b/src/index.js @@ -403,7 +403,7 @@ app.use(require('body-parser').json({ }, section, elements_to_disable) - const el = await page.$('.bot-sectionbox') + let el = await page.$('.bot-sectionbox') if (el == null) { res.status(500).json({ message: 'No given elements matches the selector.'