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({