From d8c5c5de5fbba50eba9c314a3c86f06ffae5ff20 Mon Sep 17 00:00:00 2001 From: Jay Date: Thu, 23 Aug 2018 23:26:07 +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 1fdd90a..f9b9baa 100644 --- a/route/api/twitch/index.js +++ b/route/api/twitch/index.js @@ -161,7 +161,7 @@ r.get('/channel/:chid/opay/bar', async (c, n) => { if (result.rowCount > 0) { 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 where tw.opayid != ''