From a652733c3dac572e9506fe67f147e615bcd124dd Mon Sep 17 00:00:00 2001 From: Jay Date: Thu, 23 Aug 2018 23:33:35 +0800 Subject: [PATCH] fix --- route/api/twitch/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/route/api/twitch/index.js b/route/api/twitch/index.js index f9b9baa..543cc7a 100644 --- a/route/api/twitch/index.js +++ b/route/api/twitch/index.js @@ -166,7 +166,7 @@ r.get('/channel/:chid/opay/bar', async (c, n) => { where tw.opayid != '' and tw.id = $1 - and ctime >= $2 + and list.ctime >= $2 group by list.opayid` values = [chid, setting.start_date] let priceResult = await c.db.query({