From ecec647b22ae8dff01165ec7845aa5824d109745 Mon Sep 17 00:00:00 2001 From: Henry Wang Date: Sat, 1 Sep 2018 16:17:27 +0100 Subject: [PATCH] Fix hopper (#607) --- routes/hopper/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;