This commit is contained in:
Jay 2018-08-23 23:26:07 +08:00
parent 9ce747ea8f
commit d8c5c5de5f

View File

@ -161,7 +161,7 @@ r.get('/channel/:chid/opay/bar', async (c, n) => {
if (result.rowCount > 0) { if (result.rowCount > 0) {
text = `select sum(list.price) as total from "public"."opay_donate_list" list text = `select sum(list.price) as total from "public"."opay_donate_list" list
left join "public"."twitch" tw left join "public"."twitch_channel" tw
on tw.opayid = list.opayid on tw.opayid = list.opayid
where where
tw.opayid != '' tw.opayid != ''