diff --git a/routes/hopper/index.js b/routes/hopper/index.js index e4b19711c0..0e36ec5b2d 100644 --- a/routes/hopper/index.js +++ b/routes/hopper/index.js @@ -23,7 +23,7 @@ module.exports = async (ctx) => { const list = $('div.prices li a'); const items = []; - if (!list.length === 0) { + if (list.length !== 0) { if (type === '1') { let lowest = 99999; let lowIndex = 0;